16 Commits

Author SHA1 Message Date
Xelio
370f34a793 Change guid format of resonator
Change:
Guid format of resonator change to following,
[portal guid]-resonator-[slot]

Some code cleanup
2013-02-10 22:52:11 +08:00
Xelio
6936ef1d05 Resonators deletion of zoom level move
Change:
Move resonators deletion to 'zoomend' event of map.
Some clean up of code.
2013-02-10 22:23:01 +08:00
Xelio
f781c6ebd4 Resonators deletion of portal move
Move Resonators deletion to 'remove' event of portal
2013-02-10 21:14:54 +08:00
Xelio
444bcce988 Code cleanup and minor change
Change:
Code cleanup
Loop over all portalsLayers when delete resonator
2013-02-10 20:58:15 +08:00
Xelio
eecec0b4a4 Move resonator layer back to layerGroup "portalsLayers",
to make it work with portal level filter.
And modify cleanup code to work with this change.
2013-02-10 16:06:13 +08:00
Xelio
c34d7ee3a2 Resonator on map
Change:
Add "RESONATOR_DISPLAY_ZOOM_LEVEL" to control minimum zoom level resonator will display
Add layerGroup "resonatorsLayers" to draw resonators on it.
Add "window.resonators" to store references to resonators on map

Resonator will have guid of portal with ".11" or ".12" replaced with ".r0"~".r7"
Add function "window.renderResontor" to draw resonators (use sorgo's code [sorgo](https://github.com/sorgo))
"window.renderPortal" will call "window.renderResontor" before add portal to portalsLayers
Change "window.removeByGuid" to handle resonators
Change "window.cleanUp" to handle resonators cleanup
2013-02-10 14:12:26 +08:00
Stefan Breunig
53ff334fe1 move getTypeByGuid to utils_misc.js and clean it up a little 2013-02-10 00:26:27 +01:00
Eashwar Ranganathan
dc4cea2ed7 Display control field count 2013-02-09 15:13:58 -08:00
Stefan Breunig
f5edc84635 add ability to filter by portal level. You can access the feature from the layer selector just as before. Fixes #8 and some of #12 2013-02-08 17:39:37 +01:00
Stefan Breunig
71bfeff678 remove array with portal details references that might have been leaking. Instead, store the details with the rendered portals so removal is handled automatically 2013-02-04 16:15:25 +01:00
Stefan Breunig
f92c963a54 finish chat feature; hide low level portal on zoom out; introduce render limit 2013-02-04 02:52:24 +01:00
Stefan Breunig
ecfaca7f9b more chat related stuff. public user chat and message posting is still missing though 2013-02-03 19:44:35 +01:00
Stefan Breunig
b7f1270ff6 make faction chat display almost work 2013-02-03 13:19:56 +01:00
Stefan Breunig
0a2890f196 improve actual and perceived performance 2013-02-02 00:35:15 +01:00
Stefan Breunig
e83a582f7c fix map status sometimes being wrong 2013-02-01 15:37:07 +01:00
Stefan Breunig
a07ee0cc3d so others may contribute 2013-02-01 13:11:14 +01:00