fresco icon indicating copy to clipboard operation
fresco copied to clipboard

Allow for other Jump to Location "bookmarks"

Open roblabs opened this issue 4 years ago • 0 comments

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

https://github.com/go-spatial/fresco/blob/ee65f3d88a898a2165630e09165f9fc23df19c1b/src/component/Map/constants.js#L1-L7


 Jump-to-Location


fresco-add-point-bookmarks 480

roblabs avatar Jun 19 '20 02:06 roblabs