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

Map.setIconSize does not work in Leaflet #299

Closed
sjpinizzotto opened this issue Apr 26, 2017 · 3 comments
Closed

Map.setIconSize does not work in Leaflet #299

sjpinizzotto opened this issue Apr 26, 2017 · 3 comments

Comments

@sjpinizzotto
Copy link

in the map validation tool, set run the Map.setIconSize tool with some MIL-STD-2525 units on the map. The size of the units is unaffected by leaflet.

The default size passed in from the configuration should also be the default size of the icons.

@alberto-acevedo
Copy link
Contributor

The engine was still using the old V2 API call to set the mil std icon size. Changed it to call the config API function. Added pixel integer sizes corresponding to each string type size in the utils folder.

Test case:

Use branch 240.

Plot some mil std icon on the Leaflet map.

Set the icon sizes. The test is a success if the icon change to a size corresponding to the size specified.

@mubinakhan
Copy link

Reintegrate

@alberto-acevedo
Copy link
Contributor

Merged into the dev branch. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants