Jon Atkins
3abca8720c
minor tweak to bucket allocation for data tiles. may help reduce response sizes and load on niantic servers
2013-06-10 04:44:57 +01:00
Jon Atkins
cb64b4dbfc
replace generated link data with no creator with the more complete data when available. often occurs when zooming in on a region.
...
also, some comments to clarify things
2013-06-06 23:19:14 +01:00
Jon Atkins
3b46f5d54e
log when response map tiles have individual tile errors
...
for debugging #320
2013-06-05 03:37:41 +01:00
Jon Atkins
50b3e0be38
remove some debugging console.log calls left in by mistake
2013-05-27 03:21:35 +01:00
Jon Atkins
9dc0ac4234
add a limit on the number of map tile data requests merged into a single bucket - the server seems to have some limits on this
...
yes - it will cause more requests in this case, but that's nicer than just completely failing
fix #320
2013-05-27 02:16:52 +01:00
Jon Atkins
140c5c2cb9
re-do request bucket handling - instead of grouping up to four requests together, so large window sizes make more requests, group requests into max 4 blocks
...
I think this is closer to the stock intel site behaviour, and should vastly reduce requests, especially at high resolutions
2013-05-22 17:35:59 +01:00
Xelio
b5381603b8
Bug fix: Resonators didn't redraw sometimes after level of portal hide and reshow
...
And some code simplification.
2013-05-18 17:27:46 +08:00
Xelio
07bf9b1299
Bug fix: Double removal of portalAccessIndicator cause exception when layer is hidden
2013-05-18 14:53:38 +08:00
Jon Atkins
7b44784c02
fix comment
2013-05-18 01:06:01 +01:00
Jon Atkins
ca76e7ed60
add the concept of portal detail level zoom, separate from map level zoom
...
this allows us to override the zoom used to retrieve server data, giving options to either retrieve lower zoom levels to reduce the number of requests, or higher zoom levels to retrieve lower level portals from the server
2013-05-17 23:45:14 +01:00
Xelio
3980a19e46
Bug fix in portal render limit handler and add function to clean up left over portals which should be removed after minimum display portal level rise.
2013-05-14 00:26:26 +08:00
Jon Atkins
e4ad933bb2
clamp bounds used for map data requests. no point in trying to request data outside +-90, +-180 coordinates, as it's pointless, and the server returns an error code anyway
2013-05-13 01:11:28 +01:00
Jeremy Lindgren
55be1dd2af
Merge master
2013-05-01 12:53:59 -05:00
Kevin
79af80d0c3
More updates to url links to be compatible with stock intel map
2013-04-30 22:33:07 -07:00
vita10gy
15d52b1897
Merge branch 'master' into highlighter
2013-04-24 14:20:45 -05:00
Paul Tsupikoff
f7f8e1ca94
Rewritten tile request calculation
2013-04-24 12:58:31 +03:00
vita10gy
f43e7f1ba7
Merge branch 'master' into highlighter
2013-04-24 00:56:13 -05:00
goodsoft
0010626c91
Recreate links omitted from Niantic data
...
See #192
2013-04-24 06:17:36 +03:00
Jon Atkins
59094e48bc
looks like ingress.com/intel is in the process of changing the protocol. passing in zoom level rather than minLevelOfDetail parameters when requesting entities
2013-04-23 21:45:01 +01:00
vita10gy
8fb3d0ed0f
Merge branch 'master' into highlighter
2013-04-21 14:23:27 -05:00
Kevin
86a7996db5
Change portal image urls to https if necessary in the portal object
2013-04-17 22:53:14 -07:00
vita10gy
3cd664c25c
Merge branch 'master' into highlighter
2013-04-16 23:07:03 -05:00
Fragger
4529f6c3ec
Add portalGuid to beforePortalReRender hook data
2013-04-13 21:08:11 -07:00
vita10gy
d646f2df6b
Portal Highlighter - Initial Check in
2013-04-04 23:08:59 -05:00
Stefan Breunig
b6bf5669a5
portal may become unselected
...
This simplifies the logic a bit, hopefully making it easier to debug the
issue See #404 . It seems to be related to when the portal changed because
I could trigger it easily on zooming in/out when there was a cache bug
that gave me an R portal in one zoom level and an E one in the other.
2013-03-07 11:30:58 +01:00
Xelio
d591b714a3
Bug fix: handleDataResponse in map_data
...
It throw error when val.deletedGameEntityGuids or val.gameEntities is null
2013-03-06 13:35:18 +08:00
Xelio
dbda13112e
Bug fix in "isSameResonator"
...
It was throwing error when only one of the resonator is null.
2013-03-05 23:10:49 +08:00
Xelio
eb3ec79852
Add hook: requestFinished
...
Called after each request finished. Argument is {success: boolean} indicated the request success or fail.
2013-03-05 03:17:46 +08:00
Kevin
01f7b7099d
Use LineUtil.simplify, rearange some code
2013-03-03 19:17:17 -08:00
Kevin
898f0c37ce
One more nit
2013-03-03 01:21:50 -08:00
Kevin
e3b9a2b1ec
Fix up nits
2013-03-03 01:08:46 -08:00
Kevin
9889e0988f
Fix to use identity operators
2013-03-02 22:27:45 -08:00
Kevin
7c019e1eb8
Fix tabs and add comment about crazy equation
2013-03-02 21:51:12 -08:00
Kevin
d4903c6ce7
Code breaking bug fix
2013-03-02 21:38:13 -08:00
Kevin
5513ea13eb
Resolve conflict and sync
2013-03-02 21:31:12 -08:00
Kevin
0ba8631b82
MU counts for fields with limiting for small fields
...
Only at higher zoom levels will counts for small fields show.
2013-03-02 21:25:03 -08:00
vita10gy
420ec8de16
Save Game info with links and fields
...
Useful for plugins/extending
2013-03-02 10:23:38 -06:00
Kevin
1e21bbb94d
Add thousands separator and bug fix
2013-03-02 06:29:35 -08:00
Kevin
75dea672f3
Inital stab at mu counts for fields
...
Still needs work on when not to display, maybe based on field area and
zoom level?
2013-03-02 05:56:29 -08:00
Xelio
4113991201
Code restructure 3
2013-03-01 15:31:15 +08:00
Xelio
a679710198
Code restructure 2
2013-03-01 15:00:49 +08:00
Xelio
c9d7300a05
Code Restructure
2013-03-01 14:40:30 +08:00
Xelio
c75caa91dd
Fix flicker portal in portal render limit handler
...
Change:
Extract portal handle process from "handleDataResponse" to "handlePortalData"
Add "action" property to object returned by $.ajax() to identity type of request
Delay low level portal render until no active request of map data.
2013-02-28 15:10:13 +08:00
Xelio
f4f3e7791f
Code restructure of portal render limit handler
2013-02-27 01:14:18 +08:00
Xelio
82792cf4be
Bug Fix: minLevel of Portal Render Limit handler now persistent in same batch of request.
2013-02-26 21:56:30 +08:00
Xelio
17a81c09d9
New Feature: Remove lower level portal when portal render limit reached
2013-02-26 18:44:16 +08:00
Stefan Breunig
f213a481e8
avoid rendering small fields and links for improved perf. This change is experimental, so please report any rendering issues that could be related to this.
2013-02-24 10:54:08 +01:00
vita10gy
f8215107fc
Portal size tweak
...
Slight change so that level 1 and level 2 portals aren't the same size
anymore. Also, make exception for unclaimed portals so they aren't a
tiny dot.
2013-02-23 16:20:55 -06:00
Stefan Breunig
0ada93ea75
merge parts of #236 (by ShawnTuatara)
2013-02-23 14:02:19 +01:00
Shawn Clark
a922bd36bf
Adding hook portalDataLoaded
...
- portalDataLoaded is called during the
code/map_data.js#handleDataResponse to allow plugins to manipulate the
portals prior to rendering.
2013-02-19 22:35:32 -08:00