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

Allow for other Jump to Location "bookmarks" #107

Open
roblabs opened this issue Jun 19, 2020 · 0 comments
Open

Allow for other Jump to Location "bookmarks" #107

roblabs opened this issue Jun 19, 2020 · 0 comments

Comments

@roblabs
Copy link

roblabs commented Jun 19, 2020

The "Jump to Location" in the upper right hand corner is very useful


Enhancement request

  • When someone launches Fresco, allow them to pass in locations.json with preset locations
  • May need a Preferences or Fresco Settings UI
  • may need to change the Lat,Long data to GeoJSON

The demo below is a build of Fresco with the following changes in constants.js

{"key":"sk","label":"Sanikiluaq 0","lat":56.29,"lng":-78.69,"zoom":0},
{"key":"sk","label":"Sanikiluaq 2","lat":56.29,"lng":-78.69,"zoom":2},
{"key":"sk","label":"Sanikiluaq 4","lat":56.29,"lng":-78.69,"zoom":4},
{"key":"sk","label":"Sanikiluaq 6","lat":56.29,"lng":-78.69,"zoom":6},

Source

const locations = [{
"key":"sd",
"label":"San Diego",
"lat":32.72,
"lng":-117.15,
"zoom":11
},{


 Jump-to-Location


fresco-add-point-bookmarks 480

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

No branches or pull requests

1 participant