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

Gridlines

Randomwalker replied the topic: Gridlines

5 years 6 months ago

Thank you Frank.

That has worked perfectly!

Thanks

Darren

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

fingeradmin replied the topic: Gridlines

5 years 6 months ago

Hi Darren,

yep, just as i thought - css rules from your template messing up the map tiles.

Open up /templates/full_screen_10/css/template.css on your server (i.e. download and edit locally, then upload again).

At the very end of the file, add the following css rule:

div.gpxtrackmap img.olTileImage {
  box-shadow: 0px 0px 0px 0px;
  padding: 0px;
  border: 0px;
}

As this is more specific than your template's css rules for img tags, it should fix the issue while leaving all other images as they are.

cheers, Frank

Last edit: 5 years 6 months ago by fingeradmin.
The following user(s) said Thank You: Randomwalker

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

Randomwalker replied the topic: Gridlines

5 years 6 months ago

Hi Frank,

Ive had a quick look but not sure what im looking for the url is www.randomwalker.co.uk/dartmoor/routes/1...worthy-sittaford-tor if you could take a look that would be brilliant

Cheers

Darren

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

fingeradmin replied the topic: Gridlines

5 years 6 months ago

Hi there,

ok, now i see what you mean - these are not the coordinate grid lines that OpenLayers can paint over the map.

I would suspect this to be CSS stylings that are applied to the image tiles that the map gets assembled from.

In almost any modern browser there is some function to inspect the elements of a web page and see the CSS styles, my guess is that some border and / or padding is applied to the img tags by the css of your template.

If you can't figure it out for yourself, you can send me a link and i'll take a look at it.

cheers, Frank

Last edit: 5 years 6 months ago by fingeradmin.
The following user(s) said Thank You: Randomwalker

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

Randomwalker replied the topic: Gridlines

5 years 6 months ago

Thanks for your reply Frank.

I have turned off this feature as you mentioned but the gridlines still appear.

Attachments:
Last edit: 5 years 6 months ago by Randomwalker. Reason: Added Screenshot

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

fingeradmin replied the topic: Gridlines

5 years 6 months ago

Hi there,

The grid you see is called "Graticule" in OpenLayers.

Just go to the Plugin options, tab "Map Controls", and set
"Graticule" to "No".

See here for all the options.

cheers, Frank

Last edit: 5 years 6 months ago by fingeradmin.

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

Powered by Kunena Forum