Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I want to work in real estate portal and I need to filter the result and list the properties in map view using openstreetmap (Client requirement). They gave this reference site . I started on yesterday only but the documentation and all I am not able to understand (as a beginner).

Can we implement like this using openstreetmap?

Where should I start at first?

Also I have seen some of the users recommended openlayers, leaflet, mapquest in help answers. Which one is best for my requirement openstreetmap or thirdparty api? Please guide me to complete this task. I don't know where I am and where I have to start?

share|improve this question

closed as not constructive by gnat, World Engineer, Walter, ChrisF Jun 22 '12 at 12:57

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

If you start from scratch, you may want to read an overview of what you are about to dive in: Geographic Information Systems. –  mouviciel Jun 21 '12 at 7:25
use openlayers for that. maybe geoExt will anso be interesting –  k102 Jun 21 '12 at 8:23
add comment

1 Answer

Yes, you can definately do this with OSM.

Where to start: Whenever i am looking for something i haven't done with it yet, i go back browsing the examples page for something suitable. Then i look at the code and try to understand how it works by extending it or copying parts of it (maybe just to understand a certain feature better). This is the other page you'll be staring at many times the coming days...

Most important is to understand map.zoom/panTo, events triggered when the user interacts with the map and how to work with coordinates, in particular converting map coordinates to WSG84 (which is the default projection we all know from the world map - and which is used in many geolocation apis), so you can place your markers accordingly.

The rest, such as selecting the estate based on which marker was clicked, popup boxes, AJAX-enabled multi-drop-down filter would be a bit off-topic, as it all can be done with jQuery for instance.

Tell me if you have any further questions and i'll try to expand.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.