Creating a Label Feature Layer for GeoJSON/Leaflet

5614
0
07-03-2014 07:45 AM
LoisHaggard
New Contributor
I have an app that is using geoJSON in Leaflet to display dynamic content. See prototype, here: http://ibistest.health.state.nm.us/ibisph-view/indicator/view_complete/NMPopDemoPov.Sarea.html.

I would like to add a label feature layer that the user can turn on and off just like any other layer. The labels are just polygon names, like putting the county name over a county polygon. And, here's the catch, I would like the polygon labels, when displayed on the map, to be included in the "Convert to PNG" output. My developer tells me he will need the labels to be a feature, not an attribute of a feature. I have tried saving them as an annotation feature, but that did not do it.

Any suggestions?
Tags (2)
0 Kudos
0 Replies