Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Sources + GeoJSON #14

Open
nilshoerrmann opened this issue Aug 11, 2014 · 5 comments
Open

Custom Sources + GeoJSON #14

nilshoerrmann opened this issue Aug 11, 2014 · 5 comments

Comments

@nilshoerrmann
Copy link

From the Extension Updates thread in the forum:

Support for GeoJSON (pasting locations) as well as for different tile providers (custom, Mapbox – using Leaflet) would be helpful additions.

@nitriques
Copy link
Member

+1

@brendo
Copy link
Member

brendo commented Aug 20, 2014

Would be useful to know more requirements on this, pasting locations in? As in, uploading a GeoJSON or KML file?

@nilshoerrmann
Copy link
Author

Pasting as in copy & paste.
For example from http://geojson.io.

@animaux
Copy link
Contributor

animaux commented Nov 17, 2016

@nilshoerrmann adding different maps in the backend view is now quite easy:

  1. Duplicate this block, give it a new name and pointer the parameters to your tile-URL:

https://github.com/symphonists/maplocationfield/blob/master/assets/maplocationfield.publish.js#L100-L108

  1. Add the name of the newly defined map layer here:

https://github.com/symphonists/maplocationfield/blob/master/assets/maplocationfield.publish.js#L83

e. g. mapTypeIds.push("OSM"); —> mapTypeIds.push("OSM, MyNewMapLayerName");

@animaux
Copy link
Contributor

animaux commented Nov 17, 2016

Would be nice to have a GUI for this in the field settings, but … xyz, yxz, zxy …

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants