GithubHelp home page GithubHelp logo

Comments (6)

rleal-dev avatar rleal-dev commented on August 23, 2024 1

Understood.
I will create a local directory for the images. What about markerclusterer.js what you suggest , let the GitHub link it?

from codeigniter-google-maps-v3-api-library.

PeterTheOne avatar PeterTheOne commented on August 23, 2024

You don't need to update MARKER_CLUSTER_IMAGE_PATH_, you can just set the imagePath option to the path of the local images.

from codeigniter-google-maps-v3-api-library.

rleal-dev avatar rleal-dev commented on August 23, 2024

OK. but the link "http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/src/markerclusterer_compiled.js" is broken. therefore therefore I changed to "cdn.rawgit.com/googlemaps/js-marker-clusterer/gh-pages/src/markerclusterer.js" and worked perfectly.

from codeigniter-google-maps-v3-api-library.

PeterTheOne avatar PeterTheOne commented on August 23, 2024

Github is not meant for hosting images, if something changes your code is broken again. You can do this var mc = new MarkerClusterer(map, makers, {imagePath: 'https://www.mydomain.com/images/m'});, with images in the folder images, named m1.png - m5.png from https://github.com/googlemaps/js-marker-clusterer/tree/gh-pages/images . This is how it was meant to be used.

from codeigniter-google-maps-v3-api-library.

PeterTheOne avatar PeterTheOne commented on August 23, 2024

You can let the github link, I hope it will also be updated in the markerclusterer.js repository.

from codeigniter-google-maps-v3-api-library.

rleal-dev avatar rleal-dev commented on August 23, 2024

thanks.

from codeigniter-google-maps-v3-api-library.

Related Issues (20)

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.