Access to the satellite map via the API Pro
-
We can't access the Satellite map with the API pro . All the models and data are available and readable but we can't find the satellite map. Is there any special handling?
-
@PREDICT Satellite is a part of the API Pro. I have just tested it,
store.set('overlay', 'satellite')
does the job. -
@marekd said in Access to the satellite map via the API Pro:
store.set('overlay', 'satellite')
-
store.set('overlay', 'satellite')
set the current layer to satellite, i can see it in the layer panel but as soon i change the current layer ( for exemple : "wind" ) the line for satellite layer selection disapearas far as i have look, i have found that the
parentMenu
for the satellite layer isradarSat
and is not present in the DOM afterstore.set('overlay', 'satellite')
only thesub-menu
for select the satellite layer, so when i change the actuel layer satellite to wind it close the submenu satellite and there is no "parent-menu" to open it againI can manage to overpass this probleme with some (forced) css
or programmatically with JS but is this the intended behavior of not being able to use the satellite like a normal layer ( in a paid plan of course ) ?! otherwise how can i do it ? -
@kamiedge Check https://api.windy.com/map-forecast/examples/parameters, especially
favOverlays
parameter. It should solve your issue.