wiki:qPloneGoogleMaps

Version 10 (modified by olena, 13 years ago) (diff)

--

Plone Google Maps

Plone Google Maps (qPloneGoogleMaps) is a Google Maps view product for the Plone content management system which enables integration of Google Maps into Plone sites.

Plone Google Maps Installation

  • Install qPloneGoogleMaps and geolocation as Zope products
  • Install these two products in your Plone instance with Quick Installer (Plone Control Panel ->Add/remove Products)

How To Use qPloneGoogleMaps

Due to qPloneGoogleMaps you can set up the latitude and longitude of your site objects and have their maps exhibited on your site.

Choose the object you need and click on the tab "geolocation", which appeared after the installation of the Plone product with the same name. You will see a page with latitude and longitude fields and an empty Google map. Fill in the fields with the latitude and longitude values, click the "Save" button and you will see the changes on the map below.

http://quintagroup.com/services/plone-development/products/google-maps/geolocation.png

In case you want to change the location of your object, you don't need to know the exact latitude and longitude values: just click on the map region you need, and the marker of the object will move in a way you like. Note that you can switch between three modes of the map by clicking on the corresponding buttons on the right top of the Google map: Map, Satellite and Hybrid (two first modes combined).

If you click on the display view drop-down menu, you will see an additional "maps view".

Suppose, we have a folder with two pages, for both of which the latitude and longitude parameters have been set up. Go to this folder and choose "maps view" from the "display" drop-down menu. You will see the map with both of these objects marked with the markers. If you click on one of these objects you will see its name appear beside it.

http://quintagroup.com/services/plone-development/products/google-maps/mapsview.png

Use Case 2

If you go to the "map" folder, you will notice that it has an additional content type "overlay":

http://quintagroup.com/services/plone-development/products/google-maps/overlay.png

It is necessary to create overlays if you want to have a full map with all of the objects having latitude-longitude parameters.

You can create an overlay in the following way:

http://quintagroup.com/services/plone-development/products/google-maps/editoverlay.png

Now choose the object for the marker and click "insert":

http://quintagroup.com/services/plone-development/products/google-maps/markers.png

After browsing the object for the marker select the marker's color which will be shown on the map and click the "save" button.

Suppose you have a folder containing other folders with overlays. You can view the map with all of these overlays on it. Go to this folder and choose the maps view. Your map will look like this:

http://quintagroup.com/services/plone-development/products/google-maps/wholemap.png