Click here to Skip to main content
15,906,463 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all
i am creating gps tracking system
i have to do two things with the marker
1- create context menu with some functions on the marker
2- add car number as label on the marker


when i tried to do the second issue a conflict (i think) happened
i included a JS library
Marker Label
both are working alone but when combined no thing work


some details

both depend on overlay

errors
errors
TypeError: a.lng is not a function
...b=b||new _.G(0,0);var c=this.b;b.x=c.x+a.lng()*this.j;a=_.Za(Math.sin(_.Sb(a.lat...

InvalidValueError: not a LatLng or LatLngLiteral: in property lat: not a number

TypeError: c.lat is not a function
...,c=d.b.search(_.vi)):(c=a.ca,c=new _.G(c.lat(),c.lng()),a.da=c,_.uJ(d.j,{da:c,ye...

InvalidValueError: not a LatLng or LatLngLiteral: in property lat: not a number

Thank You

What I have tried:

the first thing is finished
Marker With Context Menu (Working)


code after combine
the previous Code after Adding Labels library (Not Working)
Posted
Updated 11-Feb-18 14:22pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900