I'm working with this TileJSON canvas extension https://gist.github.com/1716010
and am wondering if there is any way to add interactions to canvas
elements. I know L.TileLayer.Canvas is listed as a raster type, but if
they are created from GeoJSON is it possible to capture the feature
properties and add popup or hover functionality? Here is an example
that shows TileJSON and switches to vectors when zoomed in past level
10: http://t.co/hXaxzDMy. This works great, but I'm curious about
canvas popups. Thanks for any advice or suggestions!
Great suggestions thanks. Your parcel viewer app is top notch.
Sent from Outlook Mobile
Da: Jack Michel
Inviato: 09/07/2012 00:39
A: leafl...@googlegroups.com
Oggetto: [Leaflet] Re: Canvas Interaction
Bryan, did you figure something out how to make canvas elements "clickable" and show their "feature properties" in a popup?
Thanks,
JackAm Sonntag, 12. Februar 2012 18:38:03 UTC+1 schrieb Bryan McBride:
I'm working with this TileJSON canvas extension https://gist.github.com/1716010
and am wondering if there is any way to add interactions to canvas
elements. I know L.TileLayer.Canvas is listed as a raster type, but if
they are created from GeoJSON is it possible to capture the feature
properties and add popup or hover functionality? Here is an example
that shows TileJSON and switches to vectors when zoomed in past level
10: http://t.co/hXaxzDMy. This works great, but I'm curious about
canvas popups. Thanks for any advice or suggestions!
--
---
You received this message because you are subscribed to a topic in the Google Groups "Leaflet" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/leaflet-js/nLQo59XYveE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to leaflet-js+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.