herrpedro
Member
Posted 1 year ago #
just upgraded and the map has disappeared in all posts
by examining the generated code the [gmap] shortcode is missing but no "google maps" code is placed there
i noticed too that there is no place for googlemaps api key. are we using a "general key"?
thank you for your time.
http://wordpress.org/extend/plugins/geotag/
Hey herrpedro,
the Google Maps API v3 doesn't need any key any more. Have you tried to check the settings and save them once again?
Cheers!
I also have problem with the upgrade.
The map isn't showing, just the when I use a static map it works.
Here I wanted to have a 900x500px big map showing all geotags/posts. I worked well in the previous version.
http://moltocreative.se/gatukonsten/kartan/
Hi Roddan,
have you tried to save all settings once again? The way they are stored in the database has changed and it may cause trouble if you don't save them once again.
herrpedro
Member
Posted 1 year ago #
ty bobs1982
i just been changing settings and saving and re-trying with different just to see if i can find something
didnt knew about the "no key needed" ... ty :)
http://www.panoramapalace.com
Yes, I have saved them once again. They are showing as static maps under posts, (see: http://moltocreative.se/gatukonsten/2011/04/07/fiskar-och-skejt/)
But the map are not showing as a Dynamic map. Just static. Thats a problem for me when I want to show all the posts/photos in one map and let people find new street art.
OK, hope you will find something. Before releasing this version I was a little bit afraid if it works well, becasue I changed almost the whole code. I didn't discover any problems but there is always something...:-). Saving the settings once again is very important. You should also check that the "Init maps when page loads" option is activated.
Hi Roddan,
maybe you can create a test post with a dynamic map. I will have a look at it.
herrpedro
Member
Posted 1 year ago #
i got "init map when page loads" checked
if i check "static map" it shows a world map below... not the place i "cheked" in post
we're here to help. (i am lol)
Hi herrpedro,
maybe you can also create a post or a page (the latter one wouldn't be visible to your visitors) with a dynamic map and send me your link. I will have a look at it, too. But now I have to get off, because I have to catch a train tonight :-).
Cheers!
herrpedro
Member
Posted 1 year ago #
they all should have a dynmap below the "panorama"
the code, simply, isnt rendered :(
Hi again,
So here is the testpost with a dynamic map.
http://moltocreative.se/gatukonsten/2011/04/10/testpost/
Code used: [gmap width="500" height="500" type="roadmap" static="false"]
herrpedro
Member
Posted 1 year ago #
this one is static
http://www.panoramapalace.com/map-test
the code is
'[gmap marker_query="numberposts=5&offset=1&category=4"]'
herrpedro
Member
Posted 1 year ago #
bellow it has a dynamic map too with
'[gmap static="false" marker_query="numberposts=5&offset=1&category=4"]'
@Roddan,
please add units (px or %) to the width and height values. If I do so, the map appears on your site.
@herrpedro:
At your page it seems to be a little bit more tricky. Perhaps you can remove all [gmap] tags from your test post and add the following:
[gmap width="100%" height="400px" visible="true" static="false"]
Maybe you can also try to disable all other plugins for a second, reload the test post once again and tell me if this will solve your problem.
herrpedro
Member
Posted 1 year ago #
didnt work for me :(
i'll now try your suggestion for me.
@ bobs1982
I tried adding px or % and none of that worked. Could it be a database-problem after the upgrade to 2.0?
herrpedro
Member
Posted 1 year ago #
just adding the code didnt work
you mean widgets or plugins?
disabled widgets in page.. and didnt too
disabled some plugins.. didnt too
i got a multilanguage plugin wich i'm affraid to disable
@Roddan:
That's strange because when I look at your source code I see the following:
<div id="gmap_116_0" class="gmap dynamic" style="width:900; height:500;">
If I change this to
<div id="gmap_116_0" class="gmap dynamic" style="width:100%; height:500px;">
I see your map. Usually the values for width and height are taken straight from the shortcode/options page without further processing (that's why it is neccessary to add the units). Maybe you can check both, your [gmap] shortcode as well as the default values on your options page and see if they both have a % or px at the end. Thanks!
herrpedro
Member
Posted 1 year ago #
did in a post and it worked :) .. didnt work on the page
@herrpedro:
Thanks. I will check your page...INet is a pain in the a*** in the train :-). Btw: what version of WordPress do you use?
@herrpedro:
Great - so there is still hope :-)
herrpedro
Member
Posted 1 year ago #
sweeettttt
my maps are back
but it seems like you're not using width and height from the "geotag options" settings?
i just upgraded to 3.1.1 (last one)
herrpedro
Member
Posted 1 year ago #
and again....
i removed all the options and.. (just left the ones in geotag panel) and all it is working....
in page too....
all and all and i didnt know what was wrong :(
other than that i'm pretty happy with your feedback
@herrpedro:
Glad to hear it's working. The width and height values should be taken from the Geotag options page. Only if you expressly set a value in the [gmap] shortcode the plugin will take this value...
@herrpedro:
You're welcome :-). I was afraid that the options will cause some trouble...maybe I should force the plugin to delete all old options in the database. I will have another look at your weblog when I'm back home.
@bobs1982
I added this "hardcode":
<div id="gmap_116_0" class="gmap dynamic" style="width:100%; height:500px;">
in to a html-view of the testpost. And now that work. However this code (in the same testpost)
[gmap width="100%" height="500px" type="roadmap" static="false"]
Dosen't work. Strange.
@Roddan:
That's really strange. Maybe you can try to delete the width and height values from the options page, then save them and set them again to something like 100%/500px and save them again. I think some "old" options might disturb the plugin. If this doesn't help, we can try to delete the old options from the database.
@bobs1982
Well, now the map is showing under all posts. Thats great. Don't really know what I changed.
However, the map isn't showing under pages. I've activated twice the option of showing maps under pages in the settings-page. But with no luck. The map dosen't even show in the source code of my page.
http://moltocreative.se/gatukonsten/kartan/
Whats up with that?