Giter Site home page Giter Site logo

Comments (2)

finanalyst avatar finanalyst commented on August 23, 2024

Sorry for the delay. It is not easy to use other markers - unfortunately. If you look at the code, you will see that all of the markers are contained in a single image and then shown by css 'boxing'. This is a very efficient mechanism because the image is sent by the server to the client only once, but the client can then use it any number of times. If (like I did) you want a 100 markers, then the payload from the server to the client would be quite large, but by using a single image, 1 marker or 100 markers makes no difference.

It is however possible to associate (short) text with a marker and have it pop up on hover (for a PC, doesn't work well with a mobile).

Otherwise, I do not quite understand what you are trying to do. What do you mean markers from other pages?

from grav-plugin-map-marker-leaflet.

iainhallam avatar iainhallam commented on August 23, 2024

I just wanted to be able to show a map on one page whose points of interest were the locations of other pages. The use case is to make a directory of locations, where each location has a single page about it, and then show a map summarising where those locations are.

from grav-plugin-map-marker-leaflet.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.