Coder Social home page Coder Social logo

Comments (6)

jgravois avatar jgravois commented on June 18, 2024

from https://github.com/Esri/esri-leaflet-renderers/blob/master/README.md#limitations

Text symbols are not supported.

from esri-leaflet-renderers.

mepdr avatar mepdr commented on June 18, 2024

I'd use text symbols for both Points and LineString, is there any plan to support them?

from esri-leaflet-renderers.

pmacMaps avatar pmacMaps commented on June 18, 2024

@mepdr Not sure what your end goal is, but if I want to have labels for my layers, I will do one of two things. Not sure if they would work for you:

  1. Publish layer as a map service with labels enabled.
  2. Publish a service without labels (feature or map service), and then publish a map service with the labels, but the symbols turned off.

When using a map service, the labels will redraw dynamically as the map extent changes.

from esri-leaflet-renderers.

jgravois avatar jgravois commented on June 18, 2024

@mepdr no one is working on introducing support for text symbols at the moment, but pull requests are welcome.

@pmacMaps thanks for outlining a few relevant alternative workflows. they're both totally relevant.

from esri-leaflet-renderers.

mepdr avatar mepdr commented on June 18, 2024

Thanks for answers.
@pmacMaps I've a layer exposed as MapServer but I'm unable to use tiles, not sure why. The arcgis javascript example works though.
@jgravois how difficult will be to introduce such support? Would you share few advises where/how to start

from esri-leaflet-renderers.

jgravois avatar jgravois commented on June 18, 2024

@mepdr even if a map service has not been cached and no tiles exist to be served out it is still possible to draw the associated layers in esri-leaflet using L.esri.dynamicMapLayer. this is a technique which will allow you to 'turn on' labels for the individual layer without writing any code of your own.

example:
http://jsbin.com/yoluvi/1/edit?html,output

from esri-leaflet-renderers.

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.