Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7865287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:02:33+00:00 2026-06-03T00:02:33+00:00

So im basicaly trying to generate pois on mapquest from a database. i have

  • 0

So im basicaly trying to generate pois on mapquest from a database. i have all i need the flex application is set and the database working but i kind of got stack on the process. does anyone have any examples or know of any tutorials i can use?even if it is for google maps flex api it would be really helpful.thanx

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T00:02:35+00:00Added an answer on June 3, 2026 at 12:02 am

    ok so basicaly the problem was that all the services must run on the creation of the new view or they wont run correctly on the functions. solving that let me continue with my solution which i will provide as a help for any new developers on mapquest.

    private function createPois():void
            {
    
                [Embed (source='views/mapicons/hotel.png')] var hotelImg:Class;
    
                for (var i:int = 0; i <countResult.lastresult-1 ;i++)
                {
                    var latLng:LatLng;
                    latLng.setLatLng(getAllMarkersResult.lastResult[i].lat,getAllMarkersResult.lastResult[i].lng);
                    var myPOI:Poi = new Poi(latLng);
    
                    var icon:MapIcon = new MapIcon();
                    icon.setImage(new hotelImg(),64,64);
    
                    myPOI.label = getAllMarkersResult.lastResult[i].name + " - Academic Building";
                    myPOI.labelVisible = false;
                    myPOI.icon=icon;
                    myPOI.rolloverAndInfoTitleText = getAllMarkersResult.lastResult[i].name;
                    myPOI.rolloverContent = getAllMarkersResult.lastResult[i].name;
                    myPOI.infoContent = (getAllMarkersResult.lastResult[i].description);
    
                    dbColl.add(myPOI);
                }
            }
    

    The logic is really simple. I create a loop which will run for the number of entries in the database and i use the countResult php service to get this number. From there the only thing i had to do is follow the add poi methodology for mapquest but giving data from the database to all the variables. In order to do that i used the getall methodo and the token lastresult which saves all the data. I believe my code is pretty straight forward and it will help new developers for Flex Mobile and MapQuest

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table I am trying to generate reports from. Its basically a
I have to consume a .NET hosted web service from a Java application. Interoperability
Hello I'm trying to dynamically generate some inputs for my form, but it's not
I'm developing a J2EE 6 Web Application, using a MySql 5.02 DataBase. I'm trying
Basically, I am trying to generate a log file in Robocode, but I am
I'm using protobuf-net , and I'm trying to: Generate a C# class from a
I'm using Hibernate tools 3.40 in Eclipse (Helios). I'm trying to generate POJOs from
I am trying to generate java source files from a package of *.xsd files
I'm trying to write an automated deployment application that runs on one box but
I'm trying to basically trying to separate a specific amount of text from the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.