The Open Street Map project creates and distributes free geographic data. CoreMedia Blueprint is prepared to include the project to display the location of location based taxonomies, but map integration are not included in the default templates.
In order to use Open Street Map on your site, you have to create a settings document
and link it to the root channel of your site. The JavaScript for Open Street Map
will be loaded using an aspect that is only enabled if the corresponding settings property is set.
The available settings for Open Street Map are shown in the table below and
must be configured to enable the map in the CAE.
A template renders a map segment according to geographic coordinates stored in the string
property latitudeLongitude
of a linked location content, and pinpoints the matching location with a
marker image (see CMTeasable.map.jsp
for a usage example).
Setting | Struct Type | Mandatory | Description |
---|---|---|---|
detail.show.map | Boolean Property | not | If true, the Open Street Map aspect will be enabled. |
map.zoom | Int Property | no | The map zoom factor to use. |
Table 8.13. Settings for Open Street Map Integration