我想制作“WiFi 地图”,但我有问题,我想要 3 个图标 OPEN/WEP/WPA,还有很多标记,每个标记都有自己的信息窗口,顶部只有 1 个信息窗口,所以我什么时候会单击#1,然后单击#2,然后#1 将隐藏。而且,如果我将有 XXXX 标记,那么缩小地图时它们会出现问题,有可能使它就像一个地方的许多标记都不会在缩小但放大时显示,是吗?
我在 MySQL 数据库中有关于网络的所有信息,所以在 PHP 中很容易显示它,就像在官方谷歌地图文档/v3/overlays.html#ComplexIcons 的教程中一样
var nodes = [
['WKKOZ',50.192843,18.967801,nodewep,1],
['airlive',50.193056,18.967974,nodeopen,2],
['Zurawia-3',50.198398,18.974723,nodeopen,3],
['siec dol',50.19303,18.96796,nodewep,4],
['KP_8_1',50.193092,18.96801,nodewep,5],
['Natalia',50.19286,18.967812,nodewpa,6],
['Z104',50.192591,18.967588,nodewep,7],
['D2',50.192499,18.96876,nodewep,8],
['Niesia',50.192474,18.968239,nodewpa,9],
['boolean',50.192539,18.967545,nodewpa,10],
['neostrada_0d65',50.192179,18.96758,nodewep,11],
['neostrada_2d38',50.192216,18.96761,nodewep,12],
['Belkin_G_Wireless_9B7BF7',50.192191,18.969261,nodeopen,13],
['Trans_FijPn',50.1939,18.979565,nodeopen,14],
['dlinklis',50.193113,18.968024,nodewpa,15]
请帮我!:)
顺便说一句:我的 MySQL 数据库的格式为http://wklej.to/7Puw/html