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

add leaflet plugin to wp-plugin-leaflet-map #39

Closed
valeriodeluca opened this issue Nov 16, 2017 · 7 comments
Closed

add leaflet plugin to wp-plugin-leaflet-map #39

valeriodeluca opened this issue Nov 16, 2017 · 7 comments

Comments

@valeriodeluca
Copy link

Hi boz! Great job!
Can I add leaflet plugin (http://leafletjs.com/plugins.html) to wp-plugin-leaflet-map code?
Tks!
Best
Valerio

@bozdoz
Copy link
Owner

bozdoz commented Nov 16, 2017

Not sure what you're asking. If you are asking if you can add any of the plugins on that link to the plugin, then the answer is yes, why not? However, this plugin does not have a simple way to do that. You would have to write the code yourself.

@valeriodeluca
Copy link
Author

Hi Bozdoz, I'd like add other leaflet plugins to wp-plugin-leaflet-map... sure writing code by myself. I'd like have leaflet plugins like these maps in my website:
http://www.mainjoin.eu/map/swiss/
http://www.mainjoin.eu/map/pisa/
http://www.mainjoin.eu/map/lamone/
http://www.mainjoin.eu/map/bm/
Tks :)

@valeriodeluca
Copy link
Author

I saw that it's possible load more geojson. Can I have a layer control with checkbox button for turn on/off each geojson (layer)?
http://leafletjs.com/examples/layers-control/
Tks!
Have nice we
Valerio

@bozdoz
Copy link
Owner

bozdoz commented Jan 18, 2018

re: last question

moving that issue to #43

@NoTaMu
Copy link

NoTaMu commented Apr 16, 2018

Would it be possible to have maxBounds implemented? I'm trying to make a local map with custom tiles and it seems like it would be really helpful.
Thank you very much for your time :)

@bozdoz
Copy link
Owner

bozdoz commented Apr 16, 2018

@NoTaMu Yes I could look at that. Could you make a separate issue please?

@bozdoz
Copy link
Owner

bozdoz commented Jul 3, 2018

As this is a large issue, I will tackle this by adding more actions/filters to the code. As it stands we've expanded markers to include many marker plugins; we can expand the map shortcode to work with other plugins on a one-by-one basis. Please open a new, specific issue for each plugin you would like to be able to use. Thanks!

@bozdoz bozdoz closed this as completed Jul 3, 2018
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

3 participants