Zero Waste Map Foros Support Embed this map

Este debate contiene 4 respuestas, tiene 3 mensajes y lo actualizó  mdibaiee hace 5 meses, 4 semanas.

  • Autor
    Publicaciones
  • #2699

    Cindy Bavré
    Participante

    Hi

    it’s not possible to embed the map in an free blog.
    Is it possible to get the API-key so people who have a free website or blog can also integrate the map?
    In wordpress it looks like this [googlemaps https://www.google.com/maps/d/embed?mid=AIzaSyA6K3-ae70t2kCpyXbVvqftK_vOC7SOXwM&w=640&h=480]

    Greetings

  • #2827

    zerowastemap.org
    Jefe de claves

    Hi Cindy, unfortunately it’s not possible this way, because it’s not a pure google map. Is there no way for you to insert small HTML snippets or an iFrame? One of both is required for embedding the map.

  • #2929

    Cindy Bavré
    Participante

    No, with blogger its possible but not with wordpress.
    No problem, I understand.

  • #11483

    mdibaiee
    Participante

    Hi,

    We are trying to embed the map, but unfortunately the data-center parameter is not working properly.

    See this URL:

    https://zerowastemap.org/map-fullscreen/?wpv-location-type=&center=Dublin, Ireland&radius=10

    This URL is used when I use these parameters:

    <div id=”zerowastemap” style=”display: block;” data-lang=”” data-type=”” data-center=”Dublin, Ireland” data-radius=”10″ data-allow=”fullscreen,geolocation” data-style=”width: 100%; height: 500px; max-width: 100%;”></div>

    While this does filter stores in 10km radius of Dublin, Ireland, the map still is centered at Germany. I tried a lot of different hacks but was not able to get it working. Any help please?

  • #11484

    mdibaiee
    Participante

    Interesting is that if I do not set a radius (or set it to 0), the map does get centered on Dublin, but then there are no stores or pins on the map because the radius is zero.

     

Debes estar registrado para responder a este debate.