In this tutorial, we will add markers to the project.
...
Identifier | Title | Data type |
---|---|---|
store_id | Store ID | integer |
address | Store address | string |
store_type | Store type | string |
| Opening hours | string |
monthly_rent | Monthly rent | integer |
contact | Contact email | string |
link | Store web link | string |
parking | Designated parking lot | string |
employees | Number of employees | integer |
lat | Store's latitude | latitude |
lng | Store's longitude | longitude |
...
Code Block | ||
---|---|---|
| ||
... { "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 | ||
---|---|---|
| ||
... "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 ... |
...