Last modified: 2010-06-09 12:09:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24338, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22338 - Icons are streched
Icons are streched
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Maps (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-01 14:24 UTC by DaSch
Modified: 2010-06-09 12:09 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description DaSch 2010-02-01 14:24:01 UTC
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.
Comment 1 Jeroen De Dauw 2010-02-01 14:29:27 UTC
(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.
Comment 2 DaSch 2010-02-01 14:58:48 UTC
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
Comment 3 Jeroen De Dauw 2010-02-01 15:10:24 UTC
(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?
Comment 4 DaSch 2010-02-01 15:20:15 UTC
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
Comment 5 Jeroen De Dauw 2010-02-01 16:44:11 UTC
(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.
Comment 6 Jeroen De Dauw 2010-06-09 12:09:19 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links