stefanocudini / leaflet-panel-layers

Leaflet Control Layers extended with support groups and icons
https://opengeo.tech/maps/leaflet-panel-layers/
MIT License
286 stars 92 forks source link

does not work with sheetsee js #4

Closed reyemtm closed 9 years ago

reyemtm commented 9 years ago

see http://jsfiddle.net/gLyb1uzc/1/

Love the plugin but it does not work with sheetsee for some reason. I added an issue to sheetsee as well. I am a novice in terms of js so maybe I have overlooked something simple. I'm just trying to add points from a google spreadsheet, which is why I looked at sheetsee, but that is another issue. Just replace sheetsee with mapbox js and it works fine.

stefanocudini commented 9 years ago

you should to try with GeoJSON layer populated from google spreadsheet data..

@reyemtm let me know about this experiment

Stefano

stefanocudini commented 9 years ago

@reyemtm news?

reyemtm commented 9 years ago

I just load both sheetsee js and mapbox js and it seems to work, though I have stopped using the panel layers and just been using the normal leaflet layer control, no good reason really. In the jsfiddle above just load mapbox js after sheetsee.

The google sheets works via sheetsee, and what is cool is that you can integrate google forms. Using pre-filled forms, you integrate the form with one of the gps location plugins and you have a really really simple gps field collection app. I'll post an example when I get a chance.