angular-leaflet-directive icon indicating copy to clipboard operation
angular-leaflet-directive copied to clipboard

[Quetion] Rendering custom map for GW2

Open GrimGX opened this issue 8 years ago • 0 comments

Hi,

Firstly, thank you very much for creating this angular directive! it has saved me a lot of time and trouble already :-).

I am developing a Guild Wars 2 app in ionic in my spare time, as i recently found out that they have an API and i love the game. As part of the app, i wanted to include a Map and the API includes a service for rendering the map tiles.

Using your wrapper, i have already managed to implement a map in the application. The only issue i have run into is setting maxBounds.

Setting max bounds on the map, for some reason, makes the map load already at max zoom. I am not certain how to fix this.

Also, is there any way to make the markers scale with map zoom? (I would like to place the waypoints and points of interest onto the map but when the map is zoomed all of the way out i would like them to be practically invisible)

I will edit this issue to leave a JSFiddle (i havent tested it in a fiddle yet) as soon as i have access to my source code.

Thanks again for the great work!

P.S.: sorry about the spelling error in the title, its bugging the hell out of me.

GrimGX avatar Jul 02 '16 03:07 GrimGX