Home > Back-end >  Baidu map to create two different location markers, can only display with an array of some markers
Baidu map to create two different location markers, can only display with an array of some markers

Time:12-30

Baidu map tag to create two different locations, can only display with an array of some tag

CodePudding user response:

In an array, why want to create two arrays, one not enough

CodePudding user response:

reference 1/f O reply: happiness is
with arrays, why do you want to create two arrays, one not enough?
database is two ajax method and shows the point marked with a different color, said the if judgment is not good to get

CodePudding user response:

refer to the second floor qq_45039649 response:
Quote: reference 1/f O reply: happiness is
with arrays, why do you want to create two arrays, one not enough?
database is two ajax method and shows the point marked with a different color, said the if judgment is not good to

Look at the official documentation, http://lbsyun.baidu.com/jsdemo.htm#eChangeMarkerIcon, look for the console error message
  • Related