Gridlines
Randomwalker replied the topic: Gridlines
- Randomwalker
- Topic Author
- Offline
- Posts: 4
- Thank you received: 0
Thank you Frank.
That has worked perfectly!
Thanks
Darren
Please Log in to join the conversation.
fingeradmin replied the topic: Gridlines
- fingeradmin
- Offline
- Posts: 249
- Thank you received: 44
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
Please Log in to join the conversation.
Randomwalker replied the topic: Gridlines
- Randomwalker
- Topic Author
- Offline
- Posts: 4
- Thank you received: 0
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 to join the conversation.
fingeradmin replied the topic: Gridlines
- fingeradmin
- Offline
- Posts: 249
- Thank you received: 44
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
Please Log in to join the conversation.
Randomwalker replied the topic: Gridlines
- Randomwalker
- Topic Author
- Offline
- Posts: 4
- Thank you received: 0
Thanks for your reply Frank.
I have turned off this feature as you mentioned but the gridlines still appear.
Please Log in to join the conversation.
fingeradmin replied the topic: Gridlines
- fingeradmin
- Offline
- Posts: 249
- Thank you received: 44