google maps plugin - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: google maps plugin (/showthread.php?tid=1419) |
google maps plugin - Connie - 2011-11-02 I started to test it. 1) First I checked the language files. (Will do the german one) unfortunately the two language files are encoded in ANSI, please do convert them to UTF-8 without BOM! 2) there is a typo in en_US.php: Code: "ADD_NEW_ANCHOR_TX" => "The map can contanin \"markers\" in various directions.<br/>Here you can configure.", should be "contain" ;=) 3) there is a good source for marker-images: http://mapicons.nicolasmollet.com/ (I added that info to the german language file) 4) I can't get it to work. Please tell us what is the exact correct syntax for the include: Code: (% googlemap: myMap %) where is the map-file stored? 5) after switching from the plugin configuration to files (to upload a marker), an error message comes up in the plugin tab: Code: Fatal error: Call to undefined methoFatal error: Call to undefined method SimpleXMLExtended::count() in /var/www/web10/html/getsimpletest/plugins/googlemap.php on line 274 6) I cannot decide where to place the label for the maps-plugin, in "pages" or "plugins" as there are different multi-user-permissions active, on one side, users want to create maps easily but have no rights to work with plugins. So if you place it at the pages tab, they can delete and/or modify other maps, that is dangerous if you place it in the plugin-tab, only "advanced users" can generate maps maybe an option in the configuration? google maps plugin - Oleg06 - 2011-11-02 new plugin does not work for me google maps plugin - Connie - 2011-11-02 I found the reason for the error: as soon as data/other/googlemap.xml is written, the method count(); is used this method is available only for PHP 5 >= 5.3.0 most of the users have PHP > 5.3.0 at their servers see here: http://www.php.net/manual/en/simplexmlelement.count.php#98444 and here: http://www.phpbuilder.com/board/showthread.php?t=10374680 so the hook for the repair is found ;=) google maps plugin - singulae - 2011-11-03 Connie, lot of thanks for your time and your help. I solved the errors: 1) Language files converted to UTF-8 without BOM. 2) en_US.php: "contanin" corrected as "contain" . 3) "Good source for marker-images" add to general info. 4) Exact syntax for tag: without spaces for everyone. 4b) Map-file stored in /data/other/googlemap.xml 5) fix count() problem with PHP <5.3 6) Place the label for the maps-plugin: mmm..You are right in all you say. I'll think of a solution ... Yes, maybe an option in the configuration. thanks again connie google maps plugin - singulae - 2011-11-03 Oleg06 Wrote:new plugin does not work for me Oleg, can you try it again with the new version? thnks! google maps plugin - Connie - 2011-11-03 hola amigo, I tested and now it works. I deactivated the "old" version, deleted googlemap.xml and the plugin and started new now the map appears at my test site in DEBUG mode I get this output: Code: Warning: count() [function.count]: Node no longer exists in /var/www/web10/html/getsimpletest/plugins/googlemap.php on line 289 and I noticed one small thing, which I will test more: when I load a map with a ballon hint at position 5,5, when first loaded the balloon sits very close to the top of the map (map dimension 400/300), when I reload that page later, the map center "slides down" and the balloon is better positioned: google maps plugin - Oleg06 - 2011-11-03 on the local serever does not work Code: <div id="gmap_myMap"></div> google maps plugin - singulae - 2011-11-05 Connie Wrote:in DEBUG mode I get this output: ok. This error solved!. Now, I try to improve(center) the position of 'infowindow' when map is loaded first time.. (mmm..caché?) gracias connie google maps plugin - singulae - 2011-11-05 Oleg06 Wrote:on the local serever does not work I do not understand what you mean by this? before the install new plugin, you deleted the old plugin? and the file googlemap.xml..? google maps plugin - Oleg06 - 2011-11-05 new installation, this is the code Code: <div id="gmap_myMap"></div> google maps plugin - singulae - 2011-11-06 Oleg06 Wrote:new installation, this is the code ok.STOP.I try to find out what happens.STOP.thanks.STOP ;P google maps plugin - singulae - 2011-11-07 New version. (v2d) - Now, can change the section on where the plugin is showed. (;D connie) - Bug fix: getimagesize () in php if it don't works = use Javascript (..markers icons size..) Oleg, I do not find why don't work your plugin.. Can you tell me more information to help me to solve the problem? thnks google maps plugin - vasitellapahki - 2012-01-05 Is current version v2d beta? It's not in extend repo. I need same map with different language (info balloon finnish, swedish) on different pages (finnish, swedish) but I just dont' get it working... I create new map with new unique id but everytime settings are saved the previous map disappears... create map id [someid-fi] -> save create map id [someid-se] -> save -> leave Google maps plugin page -> return to Google mags plugin page -> map [unique-fi] is gone Both maps are in xml file, though. Any ideas? google maps plugin - Connie - 2012-01-05 vasitellapahki Wrote:Any ideas?if you can't realize it, you could try the GoogleMaps-Plugin of the editor. I described the installation and use of that plugin at our german site: http://www.get-simple.de/editor-plugins/googlemap-plugin/ I think google translator could help you out, until I have added that info to the WIKI ;=) google maps plugin - vasitellapahki - 2012-01-05 Connie Wrote:vasitellapahki Wrote:Any ideas?if you can't realize it, you could try the GoogleMaps-Plugin of the editor. Thanks Connie, I'll take a look! My German is very rusty, but hopefully I won't need any help from Google with this one :-) Meanwhile, I'll just add both info languages into same map, that'll do for the time being. Btw, I was wrong about both maps still being in the xml, there's only one. google maps plugin - jeckyl - 2012-02-02 Hi, i'm just testing your plugin to integrate a map on one of my site and i don't understand why you use an address and not coordinates to know where you can place the marker and the map. My problem is simple, i want to use more precision to place the marker on the map but with your version is not possible. do you imagine a new version integrate a choice to use address or cordinates ? google maps plugin - singulae - 2012-02-02 jeckyl Wrote:Hi, hello, yes, it's a good idea to add also the choice of coordinates. Best offer two alternatives "address" and "coordinates". Will use the same field to request "address or coordinate" ... I hope not to take too long to have it ready Thanks for your interest google maps plugin - jeckyl - 2012-02-02 singulae Wrote:jeckyl Wrote:Hi, Thanks a lot if you can do it "quickly" ;-) I want to use it on our coworking site http://levaisseau.coworkinglarochelle.fr/. I'm working on the french translation. google maps plugin - birkoff - 2012-02-02 Hello, is possible to get TWO adresses with this plugin? I have 2 places to show, and i cant show both on the map. Help please, thanks google maps plugin - jeckyl - 2012-02-02 birkoff Wrote:Hello, is possible to get TWO adresses with this plugin? Hi, you can create 2 maps. google maps plugin - birkoff - 2012-02-02 jeckyl Wrote:birkoff Wrote:Hello, is possible to get TWO adresses with this plugin? No, i need 2 places (icons) on the same map... google maps plugin - singulae - 2012-02-02 birkoff Wrote:jeckyl Wrote:birkoff Wrote:Hello, is possible to get TWO adresses with this plugin? Yes. In the new version yo can show multiple maps and multiple places in all maps (and custom icons for each place) google maps plugin - birkoff - 2012-02-02 singulae Wrote:birkoff Wrote:jeckyl Wrote:Hi, Yeah, super google maps plugin - jeckyl - 2012-02-10 singulae Wrote:jeckyl Wrote:Hi, Hi, any news for it ? no pressure ;-) google maps plugin - Connie - 2012-03-05 the downloadpage says the actual version is 0.7.2 when you download that file, the googlemap.php still says Quote:/* so your plugin always brings a notice in GS 3.1 to update it I had to edit the file googlemap.php manually to stop this notification ;=) |