Mono module for jxMaps application.
"mono_maps": {
"module": "github/jillix/mono-maps/MODULE_VERSION"
, "roles": MONO_ROLES
, "config": {
"options": {
"map": "JQUERY_SELECTOR"
}
}
, "operations": {
"create": { "roles": MONO_ROLES }
, "read": { "roles": MONO_ROLES }
, "update": { "roles": MONO_ROLES }
, "delete": { "roles": MONO_ROLES }
, "embed": { "roles": MONO_ROLES }
}
}
Creates a new map, marker, infowindow or icon
Arguments
options
is an object containing the following fieldstype
: one of the following values:"map"
,"marker"
,"infowin"
,"icon"
data
: object that contains the data the must be inserted via crud api
callback
: the callback function
Reads all maps for the authenticated user.
Arguments
options
is an object containing the following fieldsquery
: the query that will be passed to crud api
callback
: the callback function
Updates a map, marker, infowindow or icon
Arguments
options
is an object containing the following fieldstype
: one of the following values:"map"
,"marker"
,"infowin"
,"icon"
data
: object that will be passed to the crud apiquery
: the query that will be passed to crud api
callback
: the callback function
Deletes a map, marker, infowindow or icon
Arguments
options
is an object containing the following fieldstype
: one of the following values:"map"
,"marker"
,"infowin"
,"icon"
query
: the query that will be passed to crud api
callback
: the callback function
Gets the needed map information for embed
options
is an object containing one of the following fieldsmapId
: the map id that should be loadeddata
: an external URL that sends JSON data inMap
resource type format.
callback
: the callback function
- Updated owner to jxmono
- Updated to the new Github repo URL for the markercluster.js dependency
- The new default zoom level for dynamic map searched is 13
- The map will not pan/zoom if the top result is a type-
country
result - The
search
method accepts now alsooptions.zoom
for better control when displaying the found result
- Not performing reverse geocoding for
latLng
address searches - Always create the geocoder object
- NOTE version skipped
- Added dynamic map functionality
- Map marker clustering fixes
- Updated deps
- Initial release
See LICENSE file.