melowntech / vts-browser-js

JavaScript WebGL 3D map rendering engine
BSD 2-Clause "Simplified" License
220 stars 42 forks source link

How do I make state names in uppercase? #118

Closed johntrigub closed 6 years ago

davidmtech commented 6 years ago

You have to modify file with free layer styles or overwrite free layer styles programmatically. More about free layer styles can be found at this link: https://github.com/Melown/vts-browser-js/wiki/VTS-Geodata-Format#geo-layer-styles-structure You can convert names to uppercase by following way: "label-source" : { "uppercase" : "$name" } I have made example which present how to change map style programmatically : https://jsfiddle.net/g3h1xkt6/1/ More about related concepts can be found at this link: http://vtsdocs.melown.com/en/latest/tutorials/index.html#frontend

johntrigub commented 6 years ago

Thank you very much!!