Page 1 of 1

Refresh Marker without load map api access

PostPosted: 06 Sep 2019 22:05
by TheoLang
Hello,

how can i refresh the markers. Using RenderRegionAsync would get very expensive for me.

I checked in the google cloud console, every RenderRegionAsync on the map triggers a map api access.

Thanks
Theo

Re: Refresh Marker without load map api access

PostPosted: 16 Sep 2019 12:29
by Alexander Bulei
Hi TheoLang,

What do you mean with refresh?

Re: Refresh Marker without load map api access

PostPosted: 16 Sep 2019 12:46
by TheoLang
Hi,

i create a new marker and to make it visible i have to RenderRegionAsync, right ?

In our application new markers happens quite often and if i have multiple customers showing our dashboard with the map
the whole day i have a lot of google api accesses.

The creation of markers doesn't cost anything, but the map reload will count to the google account.
Together with direction calls and geocoding calls i am near below the free limit.

Thanks
Theo

Re: Refresh Marker without load map api access

PostPosted: 16 Sep 2019 15:42
by Alexander Bulei
Hi TheoLang,

Try to call ApplyProps of marker.

Best Regards.

Re: Refresh Marker without load map api access

PostPosted: 20 Sep 2019 17:56
by TheoLang
Hi,

map3.JQGMapV3Options.Marker.ApplyProps() seems to work.

The marker appears without RenderRegionAsync and doesn't count in the google console.

Thanks
Theo