Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this tutorial, we will add markers to the project.

...

IdentifierTitleData type
store_idStore IDinteger
addressStore addressstring
store_typeStore typestring

opening_hours

Opening hours

string
monthly_rentMonthly rentinteger
contactContact emailstring
linkStore web linkstring
parkingDesignated parking lotstring
employeesNumber of employeesinteger
latStore's latitudelatitude
lngStore's longitudelongitude

...

Code Block
titleTransactions date property
	    ...
    {
        "filterable": true,
        "name": "store_id_store",
        "title": "Store ID",
        "column": "store_id_store",
        "type": "integer",
        "foreignKey": "stores"
    },
	    ...

After When Turnover value indicator is visualized, after clicking on a marker, catchment area of selected store will be displayed. Catchment areas represent those areas, where a given indicator has the biggest value.

...

It is possible visualise the value of an indicator using quantitative markers of different sizes. To achieve this, we will add the markersOnly property to the transactionsthe business_overview_view content.

Code Block
titleTransactions view excerpt
    ...
"content": {
    "icon": "catchmentshopping_areacart",
    "dashboard": "/rest/projects/$projectId/md/dashboards?name=transactionsbusiness_overview_dashboard",     
    "markerSelector": "/rest/projects/$projectId/md/markerSelectors?name=stores_marker_selector",
    "markersOnly": true
    ...

...