• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wikimedia / mediawiki-extensions-Maps / 54 / 3
17%
master: 17%

Build:
DEFAULT BRANCH: master
Ran 13 Oct 2013 11:32PM UTC
Files 53
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Oct 2013 11:31PM UTC coverage: 38.813%. Remained the same
54.3

push

travis-ci

mlidal
Rescale map after adding markers with labels

Markers with labels are added through callback to mw.loader.
Which means that they are not available when the map is scaled
to show all markers. Therefore I have extracted the rescaling code
into two functions (getBounds and setZoom) which can be called at the
original location for this code and after adding marker with label.
Split into two functions as code for centering the map also
needs the bounds object.

This commit was merged in Oct 2012, but for some reason it doesn't
exist on master (or 3.0.x), so I'm submitting it again

Fixes bug 40791

Change-Id: I61dbd4984

765 of 1971 relevant lines covered (38.81%)

4.46 hits per line

Source Files on job 54.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 54
  • Travis Job 54.3
  • 5497356f on github
  • Prev Job for on master (#53.3)
  • Next Job for on master (#55.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc