例如,我想通过gps coords(lat,lng)添加自定义html对象到wold地图 - 就像用css或任何其他(js?)标记动画完成的脉动点
<style>
#circle {
background: red;
width: 10px;
height: 10px;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
}
.gps_ring {
border: 3px solid red;
-webkit-border-radius: 30px;
height: 18px;
width: 18px;
left:20px;
top:214px;
-webkit-animation: pulsate 1s ease-out;
-webkit-animation-iteration-count: infinite;
opacity: 0.0
}
@-webkit-keyframes pulsate {
0% {-webkit-transform: scale(0.1, 0.1); opacity: 0.0;}
50% {opacity: 1.0;}
100% {-webkit-transform: scale(1.2, 1.2); opacity: 0.0;}
}
</style>
<div id="state" class="grid_4 alpha">
<div class="gps_ring"></div>
</div>