CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Refresh Marker without load map api access

by TheoLang » 06 Sep 2019 22:05

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
TheoLang
 
Posts: 65
Joined: 07 Jul 2013 20:23

by Alexander Bulei » 16 Sep 2019 12:29

Hi TheoLang,

What do you mean with refresh?
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by TheoLang » 16 Sep 2019 12:46

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
TheoLang
 
Posts: 65
Joined: 07 Jul 2013 20:23

by Alexander Bulei » 16 Sep 2019 15:42

Hi TheoLang,

Try to call ApplyProps of marker.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by TheoLang » 20 Sep 2019 17:56

Hi,

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

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

Thanks
Theo
TheoLang
 
Posts: 65
Joined: 07 Jul 2013 20:23


Return to JQGMap3

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.