Page MenuHomePhabricator

Icons are streched
Closed, ResolvedPublic

Description

Author: dasch

Description:
When a costum icon is used, it is streched to the size of the default marker. The icon should be displayed in native size or the should be the possibility to chamge the size of the icon.


Version: unspecified
Severity: enhancement

Details

Reference
bz22338

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:47 PM
bzimport set Reference to bz22338.

(In reply to comment #0)

When a costum icon is used, it is streched to the size of the default marker.
The icon should be displayed in native size or the should be the possibility to
chamge the size of the icon.

I've already looked into this, and can't find how to let the mapping API's display the icon in it's native style. If you find a way to do it, I'm more then willing to implement it though.

dasch wrote:

When reading the reference of Google-Maps-API http://code.google.com/intl/de/apis/maps/documentation/reference.html#GIcon
it seams to offer an option for setting the size of the icon

(In reply to comment #2)

When reading the reference of Google-Maps-API
http://code.google.com/intl/de/apis/maps/documentation/reference.html#GIcon
it seams to offer an option for setting the size of the icon

Yeah, but not the native size?

dasch wrote:

yes the size you could get from here http://www.mediawiki.org/wiki/API:Query_-_Properties#imageinfo_.2F_ii
maybe there is even antoher way of retreving the size

(In reply to comment #4)

yes the size you could get from here
http://www.mediawiki.org/wiki/API:Query_-_Properties#imageinfo_.2F_ii
maybe there is even antoher way of retreving the size

Thanks! I'll look into this for the next release after 0.5.3.

This has been fixed in 0.6, although the fix will only work after initial page load, as the image size can not be determined beforehand with the current solution.