[dokuwiki] Re: Dokuwiki OpenLayersMap icon size

  • From: Mark Prins <mc.prins@xxxxxxxxx>
  • To: dokuwiki <dokuwiki@xxxxxxxxxxxxx>
  • Date: Tue, 4 Oct 2016 15:22:37 +0200

2016-09-30 11:05 GMT+02:00 Tiberiu Popescu <popescu.tibi@xxxxxxxxx>:

Hello, Mark!

I have a question related to OpenLayersMap plugin for Dokuwiki. Is there a
way to configure (increase) the size of the icons displayed on the map? I'm
using 32x32 icons from mapsmarker.com but they are shrunk on the map and
show up so small that you can't see very well the image. I would like to
increase the size of the icons on the map to a value bigger than 16 px.

Thank you!

--
Tiberiu


the size is hardcoded in several places, it has to do with how the icons
are positioned on the map -w/ 8px offset- you can change this if you really
want to, it's not that hard, some javascript and some css edits are
involved. At some time in the future I may find the time to upgrade the
Openlayers (2.x ->3.x) mapping library which will make it possible to use
eg. dynamic sized icons and svg

please use the dokuwiki mailinglist for question so anyone may benefit from
the answers.
-m


-- 
Disclaimer;
This message is just a reflection of what I thought at the time of sending.
The message may contain information that is not intended for you or that
you don't understand.

Other related posts:

  • » [dokuwiki] Re: Dokuwiki OpenLayersMap icon size - Mark Prins