Add points on map api
-
Hi, I have 2 questions:
- For map api (professional) integration, can I add my points on the layer?
- can i use css to change map color for specific dataset, like we can do on Windy.com?
Thanks.
-
S Suty moved this topic from Your Feedback and Suggestions on
-
Hi @hong-josh
- How do you mean it exactly? You can adjust the map integration on your end programatically, however, we don't have any official documentation according to that.
- Unfortunately, it is not possible to handle this with CSS, but you can check our API pages where it is described how all works.
-
Are you looking something like that?
const { map, picker, utils, broadcast, store } = windyAPI;
const customIcon = L.icon({ iconUrl: 'wPin.png', iconSize: [18, 18], }); const markerOptions = {title: "myPoint", icon: customIcon}; const marker = new L.Marker(**[lat**,**lon**],markerOptions).addTo(map);
Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
NodeBB & contributors, OSM & contributors, HERE maps