Design and CSS styles
Version 5.x > Design and CSS styles > Placing a Marker on a Google Map Web Part View modes: 
User avatar
Member
Member
Stratego - 2/3/2011 10:49:59 PM
   
Placing a Marker on a Google Map Web Part
I have successfully added a Google Map to a page (despite not registering for the Google API, but maybe this is because it is on my local machine for now).

In the Kentico documentation for Google Maps there is a hint that I can put a marker on the location I want to mark.....

Latitude field: Code name of the latitude source field in the source document type, i.e. the document type used for the location markers displayed on the map.

Longitude field: Code name of the longitude source field in the source document type, i.e. the document type used for the location markers displayed on the map.


Can anyone please provide me with more information on whether this is how I can add a marker and how it is actually done.

Thank you

User avatar
Kentico Support
Kentico Support
kentico_radekm - 2/9/2011 9:53:00 AM
   
RE:Placing a Marker on a Google Map Web Part
Hello.

You need to configure the properties of the maps web part to display documents of requested document type stored within the desired location, and specify which fields of the document type contain the coordinates. This ensures displaying of the location markers. Finally, you need to choose a field for the heading and a transformation for the content of the tooltip displayed when a location marker is clicked.

You can see example of use here: http://devnet.kentico.com/docs/devguide/example_displaying_offices_on_the_map.htm.

Could you please follow it and let me know, whether it works? Thank you.

Best Regards,
Radek Macalik

User avatar
Member
Member
Stratego - 2/18/2011 2:19:41 AM
   
RE:Placing a Marker on a Google Map Web Part
Hi

That worked fine thank you.

I actually made made the office non-visible so I only used it for the marker and am pleased with the outcome visually.

For anyone reading the http://devnet.kentico.com/docs/devguide/example_displaying_offices_on_the_map.htm page, where it says "Click the Offices page and click NewDocument New. Choose to create a new CMS_Office Office and enter the following values:", it is actually a right button click.

By the way, I looked at the documentation for the web part GoogleMaps but it does not refer to the GeoMapping module which I was unaware of. I assumed it was standalone.

Maybe the documentation guy could make a reference to the GeoMapping module in the doc for the web part......
Latitude field: Code name of the latitude source field in the source document type, i.e. the document type used for the location markers displayed on the map.
Longitude field: Code name of the longitude source field in the source document type, i.e. the document type used for the location markers displayed on the map.

Thank you very much for your quick solution to this.

D

User avatar
Member
Member
dobie-soapcreative - 10/19/2011 1:46:07 AM
   
RE:Placing a Marker on a Google Map Web Part
Hi,

the link above has moved, does anyone know where it has moved to? I cannot find it and google cache of it is a blank page :(

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 10/19/2011 4:25:52 AM
   
RE:Placing a Marker on a Google Map Web Part
Hi,

Here is link to older version of the documentaton: http://devnet.kentico.com/docs/5_5R2/devguide/example_displaying_offices_on_the_map.htm

And here is link to 6.0 documentation about GEO mapping (basically you can always find it in the developer's guide): http://devnet.kentico.com/docs/devguide/geomapping_overview.htm

Best regards,
Juraj Ondrus

User avatar
Member
Member
lenart.trobec-gmail - 10/19/2011 5:58:54 AM
   
RE:Placing a Marker on a Google Map Web Part
Hi,

Thank you mr. Macalik for this. I managed to do that also.

Lenart, developer at http://www.babyland.si