Package: tecnoteca.googlemap
Tecnoteca GoogleMap Module for Plone 3 and Plone 4The Tecnoteca GoogleMap module and these instructions are distributed
in the hope that they will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.Tecnoteca does not guarantee that there will be no damage to your
existing Plone installation when using this module.IMPORTANT: Before using this module, make sure you have a full backup
of your Plone installation.Warning: upgrade from 1.0 version, please read!If you are upgrading your tecnoteca.googlemap 1.0 please remember to edit and save your googlemap objects in order to avoid errors.
To edit your objects just append “/edit” to the map object url, for example:http://localhost:8080/Plone/mygooglemap/editIntroductionThis product lets you include Google Maps v3 in a Plone 3 / Plone 4 environment.
The Tecnoteca GoogleMap module extends Plone with the capability to display different maps with macro-categories, categories, markers, paths and areas.
Thanks to the Plone relations feature it’s possible to define georeference from/to map markers and other Plone objects.
You can also extend your custom content types (Archetypes) to add geolocalization attributes and then show your content types on the google map.FeaturesPlone 3 and Plone 4 compatibilityComplete map definition (center,zoom,size,advanced controls,traffic,panoramio,weather,bicycle,street view, etc)Custom categories with custom icons and unlimited markers per categoryLocation widget to define markers’ positionGeoreference for custom content types (Archetypes), see section belowGeoreference for plone pages, events, news, images etcCustom pathsCustom areasPortlet to show georeference relationsCache load option (@ram.cache)Italian, English and French localizationsScenarioYou have a Plone site and you’d like to add several maps (culture, health,
transportation, etc) each one containing several categories (ie museums,
theaters, churches etc), and every category containing several markers
(ie museum n.1, museum n.2, museum n.3 etc).Moreover you’d like to link together the content page regarding the “museum n.1”
and the marker “museum n.1” you’ve defined in your map, so that a user reading
the content page could see where that specific museum is located.Also, you have your custom content types and you would like to extend them with
georeference feature so that you can show them on a google map.Finally, you’d like to highlight some areas of your city / territory (ie highlight
residential area) and highlight some paths (ie highlight streets or tourist routes).UsageOnce you’ve installed and configured the product you can create a google map object.
Then, inside the google map object, you can create paths / areas / categories and, inside categories, markers.
Important: you must publish categories / markers / paths / areas to show them on the map!Example:Add new >> Google Map(inside Google Map object) Add new >> Google Map Category(inside Google Map Category) Add new >> Google Map MarkerPublish your categories and markers in order to see them on the mapIf you’d like to add the “related markers” portlet please use the Plone portlet manager (http://path_to_your_installation/@@manage-portlets).Extend your custom content types (Archetype)Import:from tecnoteca.googlemap.content.ttgooglemapcoordinates import TTGoogleMapCoordinates,TTGoogleMapCoordinatesSchemaExtend schema:schemata.ATContentTypeSchema.copy() + atapi.Schema((…)) +TTGoogleMapCoordinatesSchema.copy()Extend class:class MyContentType(base.ATCTContent,TTGoogleMapCoordinates):Done! Now your content type has the required georeference fields and you can edit your items to set locationAdd to your GoogleMap a new “Google Map Category Content Type” object to show your items on the mapRequirementsPlone 3 / 4SmartColorWidgetConfigurationBefore creating a GoogleMap object please configure product parameters in plone control panel (http://path_to_your_installation/plone_control_panel).The google map api key can be generated here:http://code.google.com/apis/maps/signup.htmlInstallationStandard buildout installation, see docs/INSTALL.txtSupport and issueshttp://www.tecnoteca.com/en/contactAuthorTecnoteca srl
Via l’Aquila, 1/B
33010 Tavagnacco UDhttp://www.tecnoteca.com