Get your own customer support community

Recent activity

Subscribe to this feed
  • question

    resolver replied on August 05, 2008 05:31 to the question "my all earlier questions made clear... plz help" in Modest Maps:

    resolver
    i dont have any idea related to FLEX and my project is in flash. please if possible give me some email add so i can send my source file, my AS3 codes and swf release. i also dont have my own website to upload and send you a link. and yes i am using Polygon example from MOdest Map wiki.
  • question

    resolver replied on August 04, 2008 09:31 to the question "my all earlier questions made clear... plz help" in Modest Maps:

    resolver
    that is what i m tryin but to check if the location is in the screen i am using this code

    myLocPoint = myMap.locationPoint(<new>,polySprite);
    if(myLocpoint.y<-600><new>,true);
    }

    the above code gets checked every time i need to plot as y-coordinate goes out of bound my map pans but still the y-coordinate continues to be <-600></new></new>
  • question

    resolver replied on August 04, 2008 08:10 to the question "my all earlier questions made clear... plz help" in Modest Maps:

    resolver
    ok polySprite is just a sprite that is added as a child of map component. i want to draw lines in the polySprite i.e trace paths on map according to the location i get from a GPS receiver. the data i would get would be in real time. now the problem i got was when the location started somewhere in the center but later moved to a location that is not shown in the screen. in this case i want to pan the map so that the new location point appears on the screen and once the location is visible i want to stop the panning. i think i made it clear. if not please tell me where should i post my code but the problem is my code is very jumbled and i fear i would confuse you more.

    now i realize that the lines i draw moved too that means my polySprite is also moving. what should i do to find out that my new location is in screen so that i can stop panning. or how can i get the new screen pixel position of the location after panning.

    lookin forward for your suggestions....
  • question

    resolver replied on August 04, 2008 07:48 to the question "my all earlier questions made clear... plz help" in Modest Maps:

    resolver
    all i m using is the sample code for flash AS3 that came with modest map. the code is long so i hesitate posting it in this section. i have made no changes to the code and with the amount of knowledge i have in AS3 i dont think my polySprite is moving.

    i had been lookin for a reply impatiently since i posted the question and u appeared as a god to me. please make the explation in a bit clearer word if it was somethin different u were askin with me. plz help . really need it......
  • question

    resolver replied on August 04, 2008 07:22 to the question "is it that i should add a new question every time i clarify my earlier questions?" in Modest Maps:

    resolver
    i m sorry but i have explained my problem in the post "my earlier questions made clear". i will strictly follow a single question in future. but all i posted was because i thought u might not listen to my code. thanks for ur cooperation and once again i regret in tiring you up. SORRY
  • question

    resolver asked a question in Modest Maps on August 03, 2008 11:38:

    resolver
    my all earlier questions made clear... plz help
    let me make things clear. after lot of debugging and tracing i found my actual problem.
    i get a location point using

    locPoint = map.locationPoint(myLocation,polySprite);
    trace(locPoint.x+","+locPoint.y); ///output(300,200)

    now i pan the map either by dragging or using panTo() function so that marker in myLocation moves to new position in the screen. then i repeat the code by adding it in function "onMapStopPan(event:MapEvent):void" which is called when the map gets a stop panning event.

    locPoint = map.locationPoint(myLocation,polySprite);
    trace(locPoint.x+","+locPoint.y); ///again output(300,200)

    shouldn't new locPoint.x and locPoint.y change.

    i want updated points so that i accordingly pan my map and stop it from panning. am i doin something wrong in the code or my whole approach is wrong. please help me (with code if possible)

    i know i have filled up ur space with similar type of questions. sorry for that but a reply to this questions should solve all my earlier posts.

    please help....
  • question

    resolver asked a question in Modest Maps on August 03, 2008 08:57:

    resolver
    is it that i should add a new question every time i clarify my earlier questions?
    i m new to this forum. i asked a question and the employee fromthis forum asked for the codes. i have already posted the code in the same questions reply. i am talking about the discussion "problem with locationPoint()" and the question shouldn,t my screenPixel position(x,y) change after i pan the map?".

    is it that i should post a new question every time i reply to the prior query or is it that u great people have already noticed my problem and workin in it. i dont know if this is the right place to ask this question but i dont understand if u already have noticed my problem.
  • question

    resolver replied on August 03, 2008 07:04 to the question "shouldn,t my screen Pixel poition(x,y) change after i pan the map?" in Modest Maps:

    resolver
    map = new Map(stage.stageWidth - 2 * PADDING, stage.stageHeight - 2 * PADDING,true,new GoogleRoadMapProvider());

    this is what i m using.

    the code where i think has problem is the function redrawPolygon which i have posted in the discussion "problem with locationPoint()" please help me out.

    all i want to do is once the location moves out of the screen, i want to bring it back to the center of the screen and stop panning.
  • talk

    resolver replied on August 03, 2008 06:56 to the discussion "problem with locationPoint()" in Modest Maps:

    resolver
    my code might me mixed up but still here is the code of the function that i have modified. hope u understand it.

    public function redrawPoly(firstDrawFlag:Boolean):void
    {

    var thisObj = this;
    polyCont.scaleX = polyCont.scaleY = 1.0;
    polyCont.x = map.stage.stageWidth/2;
    polyCont.y = map.stage.stageHeight/2;
    polySprite.x = map.stage.stageWidth/2;
    polySprite.y = map.stage.stageHeight/2;
    polySprite.graphics.clear();

    polySprite.graphics.lineStyle(3,0xFF0000,1);
    locPoint = map.locationPoint(pathArray[0],polySprite);
    polySprite.graphics.moveTo(locPoint.x,locPoint.y);
    var myTimer:Timer;// = new Timer (50,(pathArray.length-1));

    if(firstDrawFlag)
    {

    myTimer = new Timer (100,(pathArray.length-1));
    myTimer.addEventListener(TimerEvent.TIMER, timeHandler);
    myTimer.reset();
    myTimer.start();

    }

    function timeHandler(e:TimerEvent):void
    {
    locPoint = thisObj.map.locationPoint(thisObj.pathArray[(myTimer.currentCount)],thisObj.polySprite);
    if(locPoint.y<-630>);
    }
    }
  • question

    resolver asked a question in Modest Maps on August 03, 2008 06:42:

    resolver
    shouldn,t my screen Pixel poition(x,y) change after i pan the map?
    shouldn,t my screen Pixel poition(x,y) change after i pan the map. i pan my map when the screen position of the map exceeds some range. but even after panning the map move revealing the new location but still the screen (x,y) position upon racing remains unchanged.
    please help soon
  • talk

    resolver started a conversation in Modest Maps on August 03, 2008 05:36:

    resolver
    problem with locationPoint()
    i tried getting mapLocation points using locationPoint() but something more than -630 disappears out of the screen. i think the maps in AS3 has its registration point at the topLeft that means my points with y-coordinate less then zero should move out of the topmost screen but it moves out when my screen location y-coordinate is about -630. is any thing going wrong in my code ?
  • question

    resolver replied on August 03, 2008 05:27 to the question "detecting the value to pan" in Modest Maps:

    resolver
    i tried it but something more than 630 disappears out of the screen. i think the maps in AS3 has its registration point at the topLeft that means my points with y-coordinate less then zero should move out of the topmost screen but it moves out when my screen location y-coordinate is about -630. is any thing going wrong in my code ?
  • question

    resolver asked a question in Modest Maps on August 01, 2008 12:08:

    resolver
    detecting the value to pan
    how to know that my location is not in the screen and by what value i should pan to see the location. this should be simple but i m getting messed up. i think it should be something with get extent but cant make it out. please help.
  • question

    resolver replied on August 01, 2008 10:57 to the question "pan maps automatically ?" in Modest Maps:

    resolver
    thanks for the help and sorry for the repeated questions. you really make me feel cosy with MM thanks again
  • talk

    resolver started a conversation in Modest Maps on August 01, 2008 10:03:

    resolver
    getting fried up in the PAN
    i want to move the map ie pan according to the latitude and aongitude as parameters . how can this be done
  • question

    resolver asked a question in Modest Maps on August 01, 2008 09:58:

    resolver
    pan maps automatically ?
    hi,
    i m new to modest map. i had a problem panning the map. i want to pan my map if the given location is not seen on the stage but i just dont have any idea where to start from. its just like some one moving on the map and if he moves out of the map extent, the map should automatically pan and show his positions. please keep in mind the panning should be done only when the location is out of vision so that it is shown on the stage. please suggest me some codes as soon as possible. i am using modest map for flash AS3 version.
    thanks in advance...
  • question

    resolver asked a question in Modest Maps on July 28, 2008 12:30:

    resolver
    why cant i detect end of load of map?
    is there any way to detect the completion of loading of maps? i just mean when the screen has completed loading the whole image ie to be displayed. any help. thanks in advance
  • resolver started following the question "How to have a loading bar for ModestMap?" in Modest Maps.