GoogleMapMarker
Votes: 340
Tags: snippet, tracking, google, map
Submitted: Jul 14, 2006
Released: Jul 14, 2006
Downloads: 71
License: LGPL
Package Website
GoogleMapMarker 1.0c
Works with the following Version(s): 0.9.6.3
Snippet to render GoogleMap with markers from MODx documents!
Download
- googlemapmarker_1.0c_installation.txt (71 downloads)
- googlemapmarker_1.0c.txt (55 downloads)
Description
Parameters:
&apiKey text (required)
The Google Maps api key to use (http://www.google.com/apis/maps/signup.html)
&startID number (default: none)
The ID number of the top folder that has google marker documents
&descendentDepth number (default: 1)
Number of levels deep to go
&sortBy text (default: "createdon")
Field to sort by (recommended values include createdon, pub_date, editedon)
&sortDir "DESC" | "ASC" (default: "ASC")
Direction to sort by, either ASC (ascending) or DESC (descending)
&tpl text (default: come's from code)
Chunk name to use as a template
&mapDiv text (default: "map")
Id name of the div where the map will be rendered
&linksDiv text (default: "maplinks")
Id name of the div where the marker links will be rendered
&linksClass text (default: "maplink")
Class name to use in the marker links
&mapType "normal" | "satellite" | "hybrid" (default: "normal")
Initial type of the map
¢erPos latitude,longitude (default: "63.098332,23.056698")
Coordinates to the initial center position of the map
&defaultZoom number (default: 8)
Initial zoomlevel for the map
&mapControl "large" | "small" | "zoomonly" | "none" (default: "large")
Look of the controls to navigate / zoom the map
&mapTypeControl "large" | "small" | "none" (default: "large")
Look of the controls to change the map type
&openMouseOverMarker 0 | 1 (default: "0")
When mouse cursor is moved over the map marker, should the info box open on that marker?
&openMouseClickMarker 0 | 1 (default: "1")
When the map marker is clicked, should the info box open on that marker?
&openMouseOverLink 0 | 1 (default "0")
When mouse cursor is moved over the textual marker link, should the info box open on that marker?
&openMouseClickLink 0 | 1 (default "1")
When the textual marker link is clicked, should the info box open on that marker?
&showOverviewMap 0 | 1 (default: "1")
Show overview map in the right bottom corner of the map?
&overviewMapSize width,heigth (default: "150,150")
Size of the overview map
&hideOverviewMapByDefault 0 | 1 (default: "1")
Should the overview map be hidden by default? (arrow indicator visible at the bottom right corner)
&dittoName text (default: "Ditto")
Name of the Ditto snippet
&dittoChunk text (default: "GoogleMapCode")
Name of the chunk to use in ditto call as template
Planned for future
Add GClientGeocoder and make possible to define markers based on street, city, country and not just by coordinates.
Directions service. A link to markeres where user can write their address or coordinates from where to draw route to the marker.
Custom marker icons and Google Earth marker icons.
Etc...
Instructions
See the attached installation text file.

Please login to comment.