Skip to content

Make Deflock map easily embeddable? #80

@agent-reed

Description

@agent-reed

I notice that other advocacy sites like to link to deflock's map. I wonder if it would be helpful to provide some helpers and improvements to the map page that makes it easy to embed on other websites?

This might just involve making a version of the map page that can take some query params that let others set the locations from an Iframe.

E.g - I'm a local advocacy group that wants to put the flock map on my webpage and have the map zoomed in to our specific town by default. Would be nice to provide some helper code to copy and paste

<iframe
  src="https://deflock.me/map=8/38.524533/-98.080444"
  width="100%"
  height="400px"
  style={{ border: 'none' }}
  title="Deflock Map Kansas
></iframe>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions