set marker -> map.geo.admin

113 views
Skip to first unread message

John-David Deubl

unread,
Aug 23, 2024, 8:15:16 AM8/23/24
to GeoAdminCh API
Hello,

Is it possible to set a marker using a link to https://map.geo.admin.ch/#/, like with OSM?

greetings john

Pascal Barth

unread,
Sep 12, 2024, 5:18:56 AM9/12/24
to geoadm...@googlegroups.com
Hi John,

Do you mean being able to place a marker at some place on the map?
If so, yes, there is the crosshair parameter.



Cheers,
Pascal

--
You received this message because you are subscribed to the Google Groups "GeoAdminCh API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geoadmin-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/b8420170-ffea-4f22-95cf-2581b55c75d3n%40googlegroups.com.

John-David Deubl

unread,
Oct 7, 2024, 6:17:53 AM10/7/24
to GeoAdminCh API
Hello Pascal,

The 2 values ​​have to be LV95, or can I also use what3words?

Chreers,
John

Pascal Barth

unread,
Dec 12, 2024, 4:05:32 AM12/12/24
to geoadm...@googlegroups.com
Hello John,

For w3w you should use the swisssearch URL param (the one that fills the search bar)

Cheers,
Pascal

John-David Deubl

unread,
Dec 12, 2024, 1:47:46 PM12/12/24
to GeoAdminCh API
thanks for your answer,

 unfortunately w3w has restricted their api free plan.
https://accounts.what3words.com/select-plan?referrer=/public-api

but I think I managed to convert WGS84toLV95. or is there an easter egg in the url parameters of https://map.geo.admin.ch/ to use WGS84t Lat/Lng directly?


Cheers,
John

Reply all
Reply to author
Forward
0 new messages