Giter Club home page Giter Club logo

Comments (8)

planemad avatar planemad commented on September 23, 2024

Possible workaround to set sprite dynamically since gl-js does not have a direct method to do this:

var style = map.getStyle(); 
style.sprite= 'https://www.mapillary.com/sprites/sprites'; 
map.setStyle(style);

from osm-navigation-map.

geohacker avatar geohacker commented on September 23, 2024

@planemad this is a great idea.

@ajithranka when you hands are freeing up from the LA buildings stuff, can you give @planemad a hand here? I think this tool is now becoming our point of entry to navigation map and let's help @planemad.

from osm-navigation-map.

planemad avatar planemad commented on September 23, 2024

@gyllen the sprites currently don't seem to support the values for Canada. Is there some place we can make a PR?

from osm-navigation-map.

gyllen avatar gyllen commented on September 23, 2024

Hey guys,

The repository is public here -> https://github.com/mapillary/mapillary_sprite_source

We will be super happy for any pull requests.

from osm-navigation-map.

gyllen avatar gyllen commented on September 23, 2024

@geohacker @planemad This is probably not the correct forum for this but I gonna ask anyway. Is the any planned support in mapbox-gl to be able to add sprites per source. We are reaching the 500 icon sprite limit pretty fast (espeicially when more signs will be coming in).

from osm-navigation-map.

geohacker avatar geohacker commented on September 23, 2024

@gyllen I don't think this has been brought up yet but if you can open a ticket in mapbox-gl-js repo, I'm sure someone will have thoughts/questions!

from osm-navigation-map.

xeob avatar xeob commented on September 23, 2024

@geohacker: Thanks, I've found a relevant issue and posted a question. mapbox/mapbox-gl-js#358 (comment) (ping @gyllen)

from osm-navigation-map.

xeob avatar xeob commented on September 23, 2024

@planemad, @geohacker: You can get sprites with US and Canadian signs by following instructions in mapillary/mapillary_sprite_source#4 (comment). The remaining packages are coming soon.

from osm-navigation-map.

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.