Differences

This shows you the differences between two versions of the page.

3rd-party-modules:googlemaps:googlemaps-docu:googlemaps-docu-points [2012/12/29 20:01]
Peter Bracher
3rd-party-modules:googlemaps:googlemaps-docu:googlemaps-docu-points [2018/06/03 18:08] (current)
Line 43: Line 43:
---- ----
\\ \\
 +
 +===== Statistics =====
 +##**New in GoogleMaps Module V3.5**##\\
 +{{:3rd-party-modules:googlemaps:googlemaps-docu:gm_176.jpg|}}\\
 +We added a nice feature here: together with the dates for create and last change you see the ID of the point in case you need it for e.g. additional javascript in the map.\\
 +And you see in which Content parts (Frontend Maps) this point is added. You get the link to this Content Part containing the Structure, the Article and the Contentpart Title. You also see if parts of the path to the Content Part are not visible in Frontend for some reason (inactive, not public, archieved, …), the inactive title appears italic then.\\
 +
===== Point ===== ===== Point =====
Line 50: Line 57:
\\ \\
To find a coordinate/point just enter the address in the corresponding fields.\\ To find a coordinate/point just enter the address in the corresponding fields.\\
-The **country is required** here, either e.g. 'Germany' or 'Deutschland' or 'DE'\\+The **country is required** here, either e.g. 'Germany' or 'Deutschland' (or 'DE' be careful with that)\\
Then hit either the Geocode Button or click on the Google Maps Icon.\\ Then hit either the Geocode Button or click on the Google Maps Icon.\\
If Google Maps finds the point the Map appears with a marker set and the coordinates (Latidude and Longitude) are entered in the fields If Google Maps finds the point the Map appears with a marker set and the coordinates (Latidude and Longitude) are entered in the fields
-below the map.\\ +below the map. (May take a while, first the map is loaded with coordinates 0,0 so its in the atlantic somewhere, as soon as the result comes back from Google the map gets updated)\\ 
-\\ +There is a alot of background JavaScript going on here, so it should always do the right thing regardless of what combination of values you give the script. Read below about the detailed prioritization of the values in the search query.
-When you edit a point the form appears without the GoogleMap, only when you click the Button or the icon it will load. Thats why Google now counts your API loads (and charge you when exceeding a certain amount of loads) and somethimes you will not change the coordinates or the address but other things in the point without the need of loading the map.\\ +
-\\+
\\ \\
\\ \\
 +When you edit a point the form appears without the GoogleMap, only when you click the Button or the icon it will load. Thats because Google now counts your API loads (and charge you when exceeding a certain amount of loads) and somethimes you will not change the coordinates or the address but other things in the point without the need of loading the map.\\
\\ \\
\\ \\
Line 65: Line 71:
We changed the way map points are set in GoogleMaps Module V3.5.\\ We changed the way map points are set in GoogleMaps Module V3.5.\\
Now you enter the address of the point and the script finds the location and sets the marker at the exact coordinate in the map. This should be the default behavior. We changed that mainly because it just make sense to store the address of a certain location and because of better matches in routeplanner.\\ Now you enter the address of the point and the script finds the location and sets the marker at the exact coordinate in the map. This should be the default behavior. We changed that mainly because it just make sense to store the address of a certain location and because of better matches in routeplanner.\\
-So as from V3.5 of the module the points coordinates are set as follows and it's important to understand this:\\ +So as from V3.5 of the module the points coordinates are set as follows __and it's important to understand this__:\\ 
-  - when an address is given (at least the country) this address will **always** change the coordinates and the marker in the map!\\ +  - when an address value is given (at least the country) this address will **always** change the coordinates and the marker in the map!\\ 
-  - when updating from an older version of the module and opening a point it'll have only the coordinates set - by click on the map icon the corresponding address will be found and the address fields filled according to the result. This may not be correct in every case because the marker was not set at the exact spot in the previous version so always check the returned values! **From now on this address values will define the coordinates!**\\+  - when updating from an older version of the module and opening a point it'll have only the coordinates set - by click on the map icon the corresponding address will be found and the address fields filled according to the result (in the language the browser uses). This may not be correct in every case because the marker was not set at the exact spot in the previous version so always check the returned values! **From now on this address values will define the coordinates!**\\
  - when you want to define the point only by the coordinates (enter them manually) you can do so, but clear all address fields except country (enter it if its still empty) and save the point without geocoding before, like this only the coordinates will be stored in the database and used later in frontend. Never click on Geocode button or the map icon in these points else the coordinates will be overwritten by the center point of the entered country! (because as soon as there is any address value this/these values overrule the setting of coordinates)\\   - when you want to define the point only by the coordinates (enter them manually) you can do so, but clear all address fields except country (enter it if its still empty) and save the point without geocoding before, like this only the coordinates will be stored in the database and used later in frontend. Never click on Geocode button or the map icon in these points else the coordinates will be overwritten by the center point of the entered country! (because as soon as there is any address value this/these values overrule the setting of coordinates)\\
  - if you want to set the point in the map by drag and drop the marker do it alike: set the marker wherever you want, clear all address fields but the country (or enter the country) and save the point without geocoding it before! Never click on Geocode button or the map icon in these points else the coordinates will be overwritten by the center point of the entered country!\\   - if you want to set the point in the map by drag and drop the marker do it alike: set the marker wherever you want, clear all address fields but the country (or enter the country) and save the point without geocoding it before! Never click on Geocode button or the map icon in these points else the coordinates will be overwritten by the center point of the entered country!\\
Line 77: Line 83:
Currently inactive categories are formatted italic and labeled. Currently inactive categories are formatted italic and labeled.
<note important>Do not assign points to parent cateogories! Parent categories just group their children. You can assign points to top level categories as long they have no children. Points in parent categories are not displayed in frontend!</note> <note important>Do not assign points to parent cateogories! Parent categories just group their children. You can assign points to top level categories as long they have no children. Points in parent categories are not displayed in frontend!</note>
-To manage the categories go to [[categories section]]\\+To manage the categories go to [[googlemaps-docu-cats|categories section]]\\
\\ \\
Again: points assigned to inactive/disabled categories and points in parent categories are **NEVER** displayed in frontend!\\ Again: points assigned to inactive/disabled categories and points in parent categories are **NEVER** displayed in frontend!\\
Line 91: Line 97:
  - The icons itself can be selected by a handy image-dropdown! It just doesn't get simpler and user friendlier!\\   - The icons itself can be selected by a handy image-dropdown! It just doesn't get simpler and user friendlier!\\
-<note important>Once set up you should not change the folders name or delete them. The module links from the maps in frontend to these folders for the markericons. So when you change anything here there might be issues with broken links for the icons in frontend!</note>+<note important>Once set up you should not change the folders name or delete them. The module links from the maps in frontend to these folders for the markericons. So when you change anything here there might be issues with broken links for the icons in frontend!\\ 
 +The Listing and the edit form show a warning when detecting broken links, this requires immediate action!!\\ 
 +{{:3rd-party-modules:googlemaps:googlemaps-docu:gm_175.jpg|}}\\ 
 +{{:3rd-party-modules:googlemaps:googlemaps-docu:gm_177.jpg|}}</note>
Default marker icon is always 'red-dot' in the default folder (icons). Default marker icon is always 'red-dot' in the default folder (icons).
A good source for marker icons: http://mapicons.nicolasmollet.com/ A good source for marker icons: http://mapicons.nicolasmollet.com/
 +\\
 +\\
 +To admin the icons see [[googlemaps-docu-icons|Icons section of the module]]
===== Info window ===== ===== Info window =====
Line 115: Line 127:
##**New in GoogleMaps Module V3.5**##\\ ##**New in GoogleMaps Module V3.5**##\\
You can interact (open the info window) from outside the map with your points in the map as follows: You can interact (open the info window) from outside the map with your points in the map as follows:
-  <[any html tag] id="openMarker237">...</[any html tag]>+  <[any html tag] id="openMarker[Marker ID]">...</[any html tag]> 
 +Replace [Marker ID] with the ID indicated on top of the edit form or in the points listing.\\ 
 +\\
or with more than one map in one page add the ID of the content part: or with more than one map in one page add the ID of the content part:
-  <[any html tag] id="openMarker237-[ID of CP]">...</[any html tag]>+  <[any html tag] id="openMarker[Marker ID]-[ID of CP]">...</[any html tag]>
---- ----
Line 133: Line 147:
\\ \\
-=== Tabbed Info Window ===+===== Search Listing =====
-not supported+More or less the same thing as in info window! 
 +This is the content the module shows in search results within the sidebar. 
 + 
 + 
 +===== KML ===== 
 + 
 +[[see here]]
----- 
-\\ 
3rd-party-modules/googlemaps/googlemaps-docu/googlemaps-docu-points.1356807667.txt.gz · Last modified: 2018/06/03 18:06 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0