Last modified: 2013-01-22 20:01:20 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 T46209, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44209 - Semantic Maps specifying center parameter breaks map display
Semantic Maps specifying center parameter breaks map display
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Maps (Other open bugs)
master
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-21 15:04 UTC by Jamie Thingelstad
Modified: 2013-01-22 20:01 UTC (History)
3 users (show)

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


Attachments

Description Jamie Thingelstad 2013-01-21 15:04:31 UTC
Using current code pulled straight from Git and displaying ask results using googlemaps format breaks if center parameter is specified.

You can see the problem live here:

http://roadsignmath.com/wiki/Welcome

The query is:

{{#ask: [[Category:Signs]]
| ?Coordinates
| format=googlemaps
| limit=1000
| height=500
| zoom=4
| autozoom=off
| center=39.828175, -98.5795
}}

which produces a broken map display. If I change it to

{{#ask: [[Category:Signs]]
| ?Coordinates
| format=googlemaps
| limit=1000
| height=500
| zoom=4
| autozoom=off
}}

The map renders properly. I also tried entering the center location in a non-decimal version but had the same problem. 

Versions: http://roadsignmath.com/wiki/Special:Version

Oddly enough, I don't see anything in my PHP error log to indicate a problem nor do I see anything in the Javascript console. :-\
Comment 1 Jeroen De Dauw 2013-01-22 17:12:46 UTC
Removing zoom also fixes it, it's a combination issue
Comment 2 Jeroen De Dauw 2013-01-22 17:57:17 UTC
Maps issue. Can reproduce with

{{#display_map:1,1;5,5;10,10;50,5
| limit=1000
| height=500
| autozoom=off
| zoom=4
| center=39.828175, -98.5795
}}
Comment 4 Jamie Thingelstad 2013-01-22 20:01:20 UTC
Updated Semantic Maps e58263c0962e5b54bf5f54852eed0a36b2e007f2 and Maps 690be25a507107fc4bd4e6ee7376bcd1d2a0731f and the map now renders. Thanks!

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


Navigation
Links