Skip to content

[Map][Leaflet] Provide example to load via AJAX #2361

@tacman

Description

@tacman

I'd like to load my map point from JSON (specifically, api-platform), can you provide an example of how to do that in the custom controller please? I'm sure it's easy once you get the Leaflet object, but I'm not sure where to get it from.

If there are other events to listen for, like the map moving or being zoomed, can you provide a stub with a console.log to the event data?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions