× Forum for the GPXTrackMap Content Plugin for Joomla! 2.5 and 3.x

Distorted Map

fingeradmin replied the topic: Distorted Map

11 years 7 months ago

Great - i hoped that would fix it.

Some templates (like the default J3 ones, and yours - apparently) set something like "max-width: 100%" globally on all IMG tags, and that distorts the tile display... i put a CSS override for that in the HTML header, which seems to work :)

cheers, Frank

Please Log in or Create an account to join the conversation.

KSL replied the topic: Distorted Map

11 years 7 months ago

this issue (for me at least) was fixed with your beta release.
THANK YOU!!!

Please Log in or Create an account to join the conversation.

fingeradmin replied the topic: Distorted Map

11 years 7 months ago

Hi,

this is most certainly a CSS issue. The OSM maps are made out of several tiles that get pieced together as IMG tags. If there's a CSS style that sets a fixed width or height on IMG tags, you can get distorted displays like that. If you have Firefox with Firebug, or Chrome with Developer Tools enabled, you can see which CSS stylings influence the IMG display.

I can try to take a closer look when i get back from Morocco this weekend.

Cheers,
Frank

Please Log in or Create an account to join the conversation.

KSL created the topic: Distorted Map

11 years 7 months ago

I a get distorted map layout now. I'm using the Gantry framework template. This happens with all map styles.

Attachments:

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum