• Resolved calello

    (@calello)


    Hi to everybody,
    is it possible to refresh the map after an event?

    I think I can use
    google.maps.event.trigger(map, 'resize');
    but I don’t know how to “connect” the map variable to the map in my page.

    Thank you so much for any help,

    MC

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,
    Maps Marker Pro offers a Javascript Events API for LeafletJS, which can be utilized by developers to attach events handlers to markers and layers. The JS Events API has three main methods which can be used to access the maps by javascript code. Basically, you are free to apply any capability on the Map object existed in the Leaflet library reference.
    For full documentation and usage examples please visit https://www.mapsmarker.com/jseventsapi
    best,
    Robert

    Thread Starter calello

    (@calello)

    Great Robert!

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Refresh map’ is closed to new replies.