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

wikimedia / mediawiki-extensions-Maps / 54
17%

Build:
DEFAULT BRANCH: master
Ran 13 Oct 2013 11:31PM UTC
Jobs 3
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

pending completion
54

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%)

13.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 54.1 13 Oct 2013 11:32PM UTC 0
38.81
Travis Job 54.1
2 54.2 13 Oct 2013 11:31PM UTC 0
38.81
Travis Job 54.2
3 54.3 13 Oct 2013 11:32PM UTC 0
38.81
Travis Job 54.3
Source Files on build 54
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #54
  • 5497356f on github
  • Prev Build on master (#53)
  • Next Build on master (#55)
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