Recent activity
Subscribe to this feed
A comment on the question "How to have a loading bar for ModestMap?" in Modest Maps:
I'll be looking forward to a cleaner TileGrid. It's rather imposing in its current form. I'm running a custom version of it (for the progress event and to give access to visibleTiles and something else that I can't recall). As you are cleaning it up, consider using URLLoader in a binary data form to cache PNG/GIF bytearrays, then using Loader.loadBytes. This should save a good chunk of memory over caching Loaders. I had a version of TileGrid that did this at one point, but ended up scrapping it because while Loader.loadBytes() is great for just showing a tile, it isn't fast enough to animate them. – Plaguester, on August 26, 2009 02:55
A comment on the question "How to have a loading bar for ModestMap?" in Modest Maps:
It may be a bug or it may have been intentional. The onProgress function seemed to output previousOpenRequests - openRequests out of previousOpenRequests. However, previousOpenRequests gets modified somewhere else during the course of loading tiles, which makes it inaccurate for sending to the progress bar.
Instead, I did the following to calculate the number of images loaded out of the total (this is from memory so the method names may not be quite right):
– Plaguester, on August 26, 2009 02:40
protected var calcNumTiles:Boolean = true;
protected var numImages:int = 0;
private function onBeginTileLoading():void {
calcNumImages = true;
// rest of method the same
}
private function onProgress():void {
var count:int = 0;
for (var name:String in layersNeeded) {
if (layersNeeded[name]) {
count += layersNeeded[name].length;
}
}
if (calcNumImages) {
numImages = count;
calcNumImages = false;
}
dispatchEvent(new ProgressEvent(ProgressEvent.PROGRESS, false, false, numImages - count, numImages));
}
Plaguester replied on August 25, 2009 20:50 to the question "How to have a loading bar for ModestMap?" in Modest Maps:
Plaguester replied on August 05, 2009 22:15 to the question "Can I edit/delete transactions or budgets through the API?" in Buxfer:
I built an application for Google's Android OS called "Buxoid". It pulls down accounts, transactions, and analysis through the API and stores it locally on the phone. People on slower egde connections can examine their accounts and enter transactions that will be uploaded next time they can get a 3G or WiFi connection.
It could potentially be a much slicker app if the Buxfer API supported edit/delete.
Plaguester reported a problem in Modest Maps on April 03, 2009 23:43:
Marker roll over/out events not firingI have a container that has 2 maps, one being the base map, and the other that contains WMS overlays. I'm trying to add markers to the overlay map and listen on the markerClip for mouse events. MarkerEvent.MARKER_CLICK works fine, but the roll over/out functions are not firing. Here's the code I'm using to add the clip:
map.mouseEnabled = false;
map.grid.mouseEnabled = false;
map.grid.mouseChildren = false;
map.markerClip.mouseEnabled = true;
map.markerClip.mouseChildren = true;
map.removeChild(map.markerClip);
map.markerClip = new PolygonClip(map);
map.addChild(map.markerClip);
map.markerClip.addEventListener(MarkerEvent.MARKER_ROLL_OVER, markerOverHandler);
map.markerClip.addEventListener(MarkerEvent.MARKER_ROLL_OUT, markerOutHandler);
map.markerClip.addEventListener(MarkerEvent.MARKER_CLICK, markerClickHandler);
I'm using the trunk/as3 version of MM.
Any suggestions?
Plaguester replied on March 10, 2009 18:59 to the question "Min/Max vertical pan with Linear Projection?" in Modest Maps:
Returning an empty array in my map provider does the trick for the memory. The reason I'm concerned about performance is that I'm animating layers (synced maps) over time (each period a different URL). 1 layer at 30 days is an additional 400MB and currently does not load correctly (20 days works). If you know of any way to get flash to compress its bitmap data in memory, I'd love to hear it. Ideally the program should handle 3 layers over 12 periods for a total of 36 frames, but right now flash's lack of native handling of PNGs is letting me down.
Plaguester asked a question in Modest Maps on March 10, 2009 17:12:
Min/Max vertical pan with Linear Projection?I have a map that uses a linear projection (EPSG:4326). This gives 1 row for every 2 columns. The map works fine, but there are rows of blank tiles above and below the map that "complete the square" so to say. Is there any way to lock the map so that it cannot be panned where these blank tiles are visible? They are adding unnecessary used memory to my app.
Plaguester reported a problem in Buxfer on December 23, 2008 00:46:
"Profile currently in use" error message on SyncI am getting a "Profile currently in use" error when trying to sync with Compass Bank. I am not logged in to their online banking system, so I don't know how the profile could be in use. Please have a look and let me know if the problem is on my end or not.
A comment on the question "It'd be great if there was an app for the Google G1!" in Buxfer:
The "keep data for 1 year" option is just for the phone to keep the data size down. it does not affect older data on Buxfer. – Plaguester, on December 16, 2008 13:42
Plaguester replied on December 16, 2008 01:11 to the question "It'd be great if there was an app for the Google G1!" in Buxfer:
Plaguester replied on December 15, 2008 05:13 to the question "It'd be great if there was an app for the Google G1!" in Buxfer:
It's published! Check out "Buxoid" on the Android Market. See my blog http://plaguester.blogspot.com for a video overview of the app.
HappyCrappy is correct that the API is a bit crippled (you can't edit or delete transactions once they are sent to Buxfer). However, I haven't found that to be much of an issue since I rarely have a transaction come through that isn't tagged and renamed correctly any more.
Please let me know if you have any suggestions (on the blog, not here).
Plaguester replied on December 14, 2008 07:28 to the problem "API Issue: numTransactions wrong" in Buxfer:
Plaguester replied on December 14, 2008 07:16 to the problem "API Issue: numTransactions wrong" in Buxfer:
Plaguester reported a problem in Buxfer on December 14, 2008 02:28:
API Issue: numTransactions wrongAPI Issue: When accessing transactions.xml, numTransactions always returns 25, when it should return the total number of transactions matching the query (according to API documentation).
Also, I noticed a few weeks ago that specifying a start/end date would get you more than 25 transactions (actually... all of them). This no longer occurs. Is there a variable that I can pass to get this functionality again? It would save my app a significant amount of time when connecting at 3G or Edge speeds.
Plaguester replied on December 06, 2008 16:38 to the problem "Chase Checking Sync Error" in Buxfer:
Option 2 is what Buxfer needs to sync automatically. I still have my old bank account and will consider switching back (the only thing keeping me is that Regions does not have a branch anywhere near Denver). However, I have a solution. Firebux does work for syncing, but as far as I know, you can't schedule Firebux to run daily. I'm going to make a small java program that will do what Firebux does for Chase. That way you can schedule it using your OS.
Plaguester replied on December 06, 2008 01:09 to the problem "Chase Checking Sync Error" in Buxfer:
Plaguester replied on December 05, 2008 14:46 to the problem "Chase Checking Sync Error" in Buxfer:
A comment on the question "It'd be great if there was an app for the Google G1!" in Buxfer:
The idea is to set up buxfer so that it does most renaming and tagging for you. However, people often write checks and record other manual transactions. My app gives you the option of posting a transaction to Buxfer. The benefit of not posting is that you can edit or delete it whenever you want. Also, if it is a pending transaction, it will be automatically removed when the cleared transaction comes through. I also put in a version of envelope budgeting which does not use the API since it uses the old budget system. As Buxfer updates their API, I'll update the app to give it increased functionality. – Plaguester, on December 02, 2008 01:23-
Plaguester started following the problem "Chase Checking Sync Error" in Buxfer.
Plaguester replied on December 01, 2008 03:55 to the question "It'd be great if there was an app for the Google G1!" in Buxfer:
| next » « previous |
Loading Profile...


