Mercurial > hg > batmud > gmap2
comparison map.js @ 274:43e8493891ed gmap2
Player icon.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 22 Apr 2014 14:58:15 +0300 |
parents | f8aa8534b951 |
children | 64f67ed89172 |
comparison
equal
deleted
inserted
replaced
273:f8aa8534b951 | 274:43e8493891ed |
---|---|
120 // Create player position marker | 120 // Create player position marker |
121 pmapPlrMarker = new google.maps.Marker( | 121 pmapPlrMarker = new google.maps.Marker( |
122 { | 122 { |
123 position: pmapMapCoordsToLatLng(new google.maps.Point(0, 0)), | 123 position: pmapMapCoordsToLatLng(new google.maps.Point(0, 0)), |
124 draggable: false, | 124 draggable: false, |
125 icon: "http://www.bat.org/pic/i?s="+ args.name +"&l=0", | |
125 map: pmap | 126 map: pmap |
126 }); | 127 }); |
127 | 128 |
128 if (!posSet) | 129 if (!posSet) |
129 pmap.setZoom(9); | 130 pmap.setZoom(9); |