Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Mapnik has no zoomlevel of 21 (Googlemaps biggest possible value), the biggest value for Mapnik would be 18.
So I guess, it would be better to set max to 18.
Template help text in scald_mapleaflet/scald-mapleaflet-render.tpl.php should reflect the new default value of 8.
Something new, not worth creating an extra issue:
Markup for iframe content in _scald_mapleaflet_content_callback needs the charset set in a meta tag.
Comments
Comment #1
indigoxela commentedComment #2
nagy.balint commentedThanks,
Can you do the same for the built in representation?
Comment #3
indigoxela commentedSure, combined patch for both players is coming...
Comment #4
indigoxela commentedComment #5
nagy.balint commentedOkey.
Instead of using close to the same code at several place, you could have a validate function in the base module, that you can call each time.
So it always happens the same way.
Comment #6
indigoxela commentedSure, that would be more elegant.
Feel free to implement it that way.
Note: the players are a bit different.
In scald_mapleaflet the second argument for the render callback is optional.
Comment #7
nagy.balint commentedOkey but in git i can only give author to one person.
So if i rework the code then it will be 2 person, and usually in that case the maintainer gets the commit credit.
Comment #8
indigoxela commentedHi nagy.balint,
That's OK for me, I don't see any problem.
If you do have concerns, let't talk about it ;)
Comment #9
nagy.balint commentedOkey here is the patch.
Comment #10
indigoxela commentedHi nagy.balint,
nice catch!
Some more things:
Mapnik has no zoomlevel of 21 (Googlemaps biggest possible value), the biggest value for Mapnik would be 18.
So I guess, it would be better to set max to 18.
Template help text in scald_mapleaflet/scald-mapleaflet-render.tpl.php should reflect the new default value of 8.
Something new, not worth creating an extra issue:
Markup for iframe content in _scald_mapleaflet_content_callback needs the charset set in a meta tag.
New patch is attached.
Comment #12
nagy.balint commentedThanks, committed.