google crisis response map
-
Whilst I can embed a google map, I can not find the way to embed google crisis response map [e.g. http://google.org/crisismap/a/gmail.com/mappasismica?hl=it&llbox=48.41%2C34.79%2C30.52%2C-4.48&t=HYBRID&layers=4%2C5%2C3%3A34%2C6%2Clayer0%2C1%5D
is there any way to do that? I should need to embed this specific map as the website I would like to develop is a civil protection (emergnecy management) website, and the maps are crucial information.thanks
The blog I need help with is: (visible only to logged in users)
-
Try this code for map embedding.
echo do_shortcode(‘[google_map version=”classic” lang=”en” link=”yes” width=”200″ height=”200″]’.$address.'[/google_map]’);
In addition, [google_map] shorcode can be used inside pages, post and text widgets too.
-
thank you.
but it does not work. maybe I am doing something wrong.
the [google_map] shortcode does not work neither in a widget nor in a page; how can I use the “echo” code? -
If the information is protected and there is no embed or share link on it, you may not be able to directly embed it on your site.
This of course doesn’t stop you from linking from your site to the dynamic map. You could do that with an image widget in the sidebar or an image on a page/post.
-
thank you for the reply.
the map is public and reachable at the url http://google.org/crisismap/a/gmail.com/mappasismica
the embed code to share is as follows:
<iframe width="400" height="400" src="http://google.org/crisismap/a/gmail.com/mappasismica?hl=it&llbox=48.41%2C34.79%2C30.52%2C-4.48&t=HYBRID&layers=4%2C5%2C3%3A34%2C6%2Clayer0%2C1&embedded=true" style="border: 1px solid #ccc"></iframe>The link with an image to the map is an option I would have preferred not to use.
-
OK- thanks for that. I tried coping that code and pasting it in the Text Editor in a test Post and saved it as draft. It did not turn into the google maps shortcode as expected, so I’ve tagged this for Staff.
-
-
Hi there,
Currently our code only allows map embeds from the domains maps.google.com and mapsengine.google.com. Since the crisis map is found on Google.org the emeded map is not showing.
I have reported this to our developers and will let you know when I hear back.
-
@bdukes-I rather suspected that was the source of the problem, but thanks for confirming and taking it up with the devs.
While looking up other forum threads on gmaps embeds, were localized google domains, like co.uk, also finally “whitelisted”?
-
While looking up other forum threads on gmaps embeds, were localized google domains, like co.uk, also finally “whitelisted”?
Currently .co and .com are the only two supported TLDs at this time. Although the enhancement report does include requesting support for localized domain names.
-
Hey there, just inquiring if there is any update here either from the user’s end or from Staff. TIA
-
-
Hi there,
The request has been sent and reported to the appropriate team. However, at this time we are unable to give a timeline as we don’t currently have the resources to implement this.
-
@bdukes-thanks for the information, hopefully one day…
@elenis1517 – in this case, the only real option left to you then is linking a static image to the dynamic map on google.org
- The topic ‘google crisis response map’ is closed to new replies.