• I run mapserver that renders OSM with different style.

    Tiles are served in the same manner as OSM just look different.

    How can I use my tiles in this plugin?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author MiKa

    (@photoweblog)

    Hi @pedjas

    when you run your own mapserve I suggest to spend a couple of hours to add the maps with some lines of code which is not difficult with OpenLayers or Leafleat. If it’s not a big application you want to create Leaflet JS will be a good choice:

    https://leafletjs.com/examples/quick-start/

    A wordpress plugin is always a compromise and does not 100% match your requirements.

    Br,
    MiKa

    Thread Starter pedjas

    (@pedjas)

    Sorry if I offended you.

    I just thought as there is support for custom WMS maps, that maybe there is support for TMS (OSM alike). TMS is actually simpler to implement.

    I did take a look at plugin code, and saw that many things including maps settings are hard coded and it is quite complicated to add new stuff, so I thought I could ask first.

    Plugin Author MiKa

    (@photoweblog)

    Hello @pedjas

    I think I understood you.
    I think more than 90% do not care about the distinction between data, maps and the display program (plugin). They want to display a location quickly. If you run your own server, you are an expert / exception and the integration of maps can actually be done with Leaflet in one or two evenings.

    On the other hand, if you want to automate centering, you have to consider whether
    * you want to center or not
    * there is only 1 KML file or several KML files
    * there are KML files and GPX files in the same map

    You can of course solve everything, but among the many open topics, only a few users are addressed with the effort …

    Sorry if I kept it short at the previous post.

    No doubt you have seen, you can simply replace the URL of the map server, but this way you will loose the change at every plugin update. Maybe an adaption of the plugin for your own needs would also fit.

    Br, MiKa

    Thread Starter pedjas

    (@pedjas)

    Using custom map server is not just expert thing. It is necessity as OpenStreetMap discourages people to use OpenStreetMap as map base. They do not have resources to spend. OSM is not Google. They do not sell service to cover expenses.

    The recommend using custom map server or at least caching server to reduce resource usage on OpenStreetMap servers.

    Usage part. I actually am acting as plain user. What I find user friendly is to upload GPX, set map to dislay it and that is it. Having to go through quite harassing process of finding and setting map center to get gpx actually visible on the map is not for ordinary user. That is for experts.

    What I would expect as ordinary, not knowledged user is to just set GPX and map do the rest. If not possible, I would at least expect I can select GPX (marker or whatever i set to be displayed on map) and click button that would center map on selected item.

    It is just sad to see plugin that excelently solved advanced mapping stuff fails on usability and has user interface that is far behind functionality power plugin actually has.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘How can I use custom maps?’ is closed to new replies.