Hello.
You mean this overlay over the map, right?
You cannot do this directly because Online Maps does not support vector data. But you can work around this in several ways.
Way 1:
uMap just stores overlay as JSON.
http://umap.openstreetmap.fr/en/datalayer/698822/
You can download this JSON and display it using Drawing API.
This way is better to use if you have several (up to 200) lines on the map.
Way 2:
You use this third-party software to rasterize this vector data into tiles, and display it as overlay.
http://infinity-code.com/atlas/online-m … ample.html
This way is better to use if you have a complicated overlay, which is located in one place (for example, a city), because you will have a quite large number of tiles.
Way 3:
You programmatically rasterize your vector data, cache the result, and display it as overlay.
This can be quite simply implemented using Online Maps API.
This way can be used if the first two are not suitable for your project, because software rasterization is a quite slow and requires a lot of memory.
Kind Regards,
Infinity Code Team.
Boost your productivity a lot and immediately using
Ultimate Editor Enhancer.
Trial and non-commerce versions available.