• Resolved teddyyun

    (@teddyyun)


    Is there a way to specify different colors of polygons for each property of the geojson field?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor hupe13

    (@hupe13)

    Unfortunately no. You can only specify a color and fillColor for every geojson file.

    Thread Starter teddyyun

    (@teddyyun)

    For example, if there are three countries in one geojson file and the property name is country, I would like to fill each country with a different color. I want to know this method. If there is no quick way, should I create a separate geojson file for each country?

    Plugin Contributor hupe13

    (@hupe13)

    If there is no quick way, should I create a separate geojson file for each country?

    Yes, this you should do.

    Thread Starter teddyyun

    (@teddyyun)

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘polygon color for each property in geojson’ is closed to new replies.