Hello guys I'm having trouble finding in the library how to get the viewport's center in coordinates. Basically my goal is that each time a user wants to create an alert,the pin marker locates the center of the screen so that the user can drag it without being forced to scroll over the map to get the pin( because right now I defined a point static).
Hope you can help me