onaio/gisida

Ability to publish a single layer in an iframe

Open

#9 opened on Nov 22, 2017

 (2 comments) (0 reactions) (0 assignees)JavaScript (4 forks)auto 404
:water_buffalo: coreLayer Buildergood first issue

Repository metrics

Stars
 (13 stars)
PR merge metrics
 (PR metrics pending)

Description

As a user, I would like to be able to share a single layer in an iframe.

Since it will be a single layer, there will be no map component.

Once we get this working we can explore ways to combine multiple layers in an iframe share.

Rationale

The initial goal is to provide a way for us to start share hosted layers (promoting the mapviz spec). We will try and start to get these embedded on the HDX (humdata.org) site.

This will also be a way for us to start promoting / getting previews of gisida in blog posts, etc.

Assumptions

  • This will point to a gisida JS we will host
  • The maps will initially point to our mapbox tiles. Obviously, they can point at their own mapbox account in their spec.

Design In the footer of the iframe, we'll want a gisida logo.

screen shot 2017-11-22 at 12 06 01 pm

We could link to the source (like how they do it below). This would show the details we have in the credits). It could also provide a link to the hosted mapviz spec json file.

screen shot 2017-11-22 at 12 01 03 pm

Contributor guide