Skip to main content

MyGeotab SDK Best Practice for attaching to MyGeotab Map vehicle moving Event in our Deeper Add-In

lmit-1292
Original Poster

In our MyGeotab Map Deeper Add-In, we're trying to avoid resource-intensive Geotab API vehicle polling using Get.DeviceStatusInfo multicalls().

 

In our Add-In, is there a way to attach to Vehicle "moving" MyGeotab Map events?

 

We want to use the service.canvas.marker() method to re-draw elements on the map to any changing vehicle lat/lng?

 

Could Geotab suggest best practice for this use-case?

Join the conversation

You need to be logged in to reply to this post and participate in the Geotab Community discussions.

Top Answers

+1 for similar need. See my thread here:

https://community.geotab.com/s/question/0D52J00007cyu36SAA/need-additional-deeper-addin-callback?language=en_US

This is not possible as of now, I posted a feature request with urgency because this is required as part of a RFP we won and that just went in production with the provincial government. Been given the run-around and workarounds that don't work... My Feature Request case was 3106, you could open one as well and reference mine to add to the same case. Ours is for 2500 vehicles and a provincial government 5 year contract. I'd hoped for a quick turnaround but it's been 4 months, even though this is probably a 3 hour dev effort.

8 Replies

+1 for similar need. See my thread here:

https://community.geotab.com/s/question/0D52J00007cyu36SAA/need-additional-deeper-addin-callback?language=en_US

This is not possible as of now, I posted a feature request with urgency because this is required as part of a RFP we won and that just went in production with the provincial government. Been given the run-around and workarounds that don't work... My Feature Request case was 3106, you could open one as well and reference mine to add to the same case. Ours is for 2500 vehicles and a provincial government 5 year contract. I'd hoped for a quick turnaround but it's been 4 months, even though this is probably a 3 hour dev effort.

lmit-1292
Original Poster

Will look at opening a case as this is an important feature that would serve many integrations use-cases and make efficient use of Geotab API resources. Win-Win for everyone

@lmit-1292​ 

Absolutely open a new case and add your input to feature request 3106 (I made a note to expect additional input). The more of a business case that gets built for the request, the higher of a priority it becomes.

 

@LPPapillon-1145​ 

We appreciate the feature request you've made and rest assured, it's been vetted internally already. However, due to our priorities and development schedule being set well ahead of the release schedule, we aren't able to turn around new requests as soon as we're made aware of them. Thank you for your patience and understanding.

 

Kind Regards,

Bryce

lmit-1292
Original Poster

Thanks for the response @Bryce-1261​ 

 

The support request has been sent and responded to by Geotab support, as ticket/case#00510110.

 

Both my request for exposed MyGeotab Map vehicle "Moving" event and @LPPapillon-1145​ request for MyGeotab Map "Pan/Zoom" events are very similar in scope, but not exactly the same.

 

The scope of the feature request should include BOTH events as generated by external map changes and not so much related to direct user-interaction.

@Bryce-1261​ thanks for the comment. I understand Geotab is not expected to implement every feature request in a matter of weeks, but I hate being in this kind of spot. We responded to this government RFP with solutions specialists at Geotab and our PAM was very much involved every step of the way. All we got were yesses. We got the contract and it's on me to deliver, and everything that was on Geotab to help us with has been pending so long and is making us look bad. This is one simple piece of the puzzle that I was hoping would be a quick fix - when map add-ins were released initially, there were 2-3 forum posts (on the old forums) asking for new properties to be able to use .change() on as well as other callback and feature improvements requested. They were available on mypreview 2 weeks later. I know this is not typical, I was just hoping for a Hail Mary.

 

@lmit-1292​ just to clarify, it's true our requests aren't exactly alike, and it's true I did mention pan/zoom in my request, but really the callback I asked for was a "painted" callback, for whenever the map is re-painted. That is regardless of if it was because of a pan/zoom or because of a location refresh, or because new vehicles were selected/deselected. Basically I need to react any time vehicle cursors move (with the exception of Active Tracking devices second-by-second updates). The motives are similar to yours as well, I don't want to intensively query for DeviceStatusInfo and other calls constantly, Geotab does so every 20 seconds already (as well as other cases mentioned above), and I could just react to those if I could easily time my function to be executed on this callback. Now I have to do some heavy polling and my icon updates stutter because they are not in sync with Geotab's.

lmit-1292
Original Poster

@LPPapillon-1145​ Thanks for the "Painting" clarification. Makes allot of sense and that event alone would serve me as well. BUT a "Painting" event MAY be too generic an event to return the relevant info (in the event object) that every integrator would need so they could implement efficient but responsive UI designs that serve their business needs. So it's my thought that event specialization would need to be balanced with generalized "something happened" events by Geotab developers. Whatever they implement must serve everyone's needs, which is hard to get that recipe right. But something is better than nothing, which is where we're at right now with Map events.

@lmit-1292​ , @LPPapillon-1145​ 

 

Based on your thorough discussion of the topic, we've added additional clarification to request 3106. After internal discussion, we have received confirmation that this request will be added to the future roadmap (no ETA provided). For the time being, you will need to continue with the asynchronous updates for your icons.

 

Thank you for the valuable feedback that will definitely improve the Geotab Deeper Add-ins in the future.

 

Kind regards,

Bryce

lmit-1292
Original Poster

Has Anyone gotten an update from Geotab development on the implementation of this feature request?

Still have questions?