Ok, so this post probably won’t be long because this is so super simple! So first the atta boy to MapQuest for making this so simple. Now lets look at what it takes. myMap.getDeclutterMode().setDeclutterMode(2);
Archive for the ‘POI’ Category
12 Jan
Adding and Removing the same POIs
Adding and removing the same POIs over and over again doesn’t perform as I expected. To get rid of all the POIs you need to use the removeAllPois() function.
28 Aug
How To Give the User A Choice of POI’s
Ok, so I have some code that I would love to share with you fellow AS3 developers. I have been playing over that last few days with some of the new features in the 5.3 version of MQAPI for AS3 and I made a custom mxml component. This is a very simple component, and will allow the users [...]
21 Dec
Polygons and labels
So there is more to report when it comes to throwing Poly’s on the screen. Well, it looks like there is not a great way to do labels for your poly’s which stinks, but there are work arounds i am sure. I posted something on this in the forums on MapQuest site with a response [...]
21 Sep
Adding Multiple POI’s
OK, so the next thing that I need to do is add a bunch of people to the map that are around the person I added before. BTW these people will have their own custom graphic above their spot to mark their POI.
<code>
//import stuff
import flash.display.Sprite;
import flash.display.StageScaleMode;
import com.mapquest.tilemap.*;
import com.mapquest.tilemap.pois.Poi;
import com.mapquest.tilemap.controls.*;
import com.mapquest.*;
//global var’s
[Embed(source='\\15_15_i.gif')]
public var NyIcon:Class;
//first this [...]
21 Sep
Adding a Poi.
So, Now I am going to add Point Of Interest, but I am going to go ahead and put in the POI as the office of an individual that is associated with our company. Oh an good news, this is pretty much the code the provide, i am just passing inthe info that i [...]