Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
770
Initialize igMap at 100% width and height, centered on a given geographical coordinates.
posted

Hello:

I want to intialize igMap at máximum space available on the Windows. I want initially the map is centered on a given groagraphicall coordinates.

 

I tried to precalculate free width and height, and set to igmap at inicialization, but map center position changes depending on the aspect ratio of the window. I can't convert coordinates using getZoomFromGeographic because igMap has not been initialized, too.

 

How can achieve this?

Thanks

Parents Reply Children