Version 2 (modified by 15 years ago) ( diff ) | ,
---|
GIS API
Developers need to be able to embed maps within their Modules & display Features.
They don't want to have to become GIS experts for this - they just want to be able to call a documented mapping API:
- A function which returns all the HTML needed to insert a map on the page, with the following customizations:
- Be able to define which locations get placed on this map. This might include a number of different types (groups?) of locations. For each type/group we can specify:
- The Marker (default from gis module).
- A function to call to return the size/colour of the marker, based on the location id. (advanced)
- A form which get displayed as the pop-up for the markers (along with the location_id as a arg/var, so can customize the display)
- Be able to define the default size of the map
- Be able to define which locations get placed on this map. This might include a number of different types (groups?) of locations. For each type/group we can specify:
Note:
See TracWiki
for help on using the wiki.