Is there already a way to zoom to the previous extent?
RéponduIn VertiGIS Web you can zoom to the intial extent by using the "map.zoom-to-initial-viewpoint" command. I was looking for a command to zoom to the previous extent, something like "map.zoom-to-previous-viewpoint" but it seems as if this command is not yet available. Are there any other ways to achieve this, e.g. by using the "map.zoom-to-viewpoint" command in combination with a certain argument?
-
Commentaire officiel
Hi Marina,
Unfortunately, there is no "out of the box" command for what you're looking for. This is a great opportunity to take advantage of our SDK though.
I've added a demo to our VertiGIS Studio Web Samples library: https://vertigis-web-samples.netlify.app/tap-into-web-event and you can view the code here: https://github.com/geocortex/vertigis-web-samples/blob/master/samples/tap-into-web-event/src/services/customService/CustomService.ts
More information about using our SDK can be found here: https://developers.geocortex.com/docs/web/sdk-overview
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire