none
Looking for a store locator sample with bing maps RRS feed

  • Question

  • Hi,i want develop a store locator. i want get the data (get all stores from a given zip code and radius) from my own wcf service. he gets his data from my own sqlserver 2008.

    how exactly did i wrote the sql queries to get the stores in my radius (by entered a zip code or given geo location ) ? 
    after that how i did it use (the geo codes) with bing maps

    are there samples with current technics to realize a store locator?

    • Moved by Ricky_Brundritt Friday, March 9, 2012 3:43 PM (From:Bing Maps: Map Control and Web services Development)
    Wednesday, March 2, 2011 8:42 PM

Answers

  • I am not aware of a store finder sample out there but here are a few hints.

    1) you will need to take the zip code or address entered by the user and geocode this using the bing maps REST services. Once geocoded you can pass this to your wcf service via javascript (see a full best practices example at http://bingmaps.codeplex.com/wikipage?title=Getting%20Started%20in%20Web%20Services&referringTitle=Home)

    2) To do you query, where you want all locations within a given radius of a location (which you got using 1) ) take a look at http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/sql-server-zipcode-latitude-longitude-pr. This sample actually looks up the zip code for you as well but I would advise you use bing to lookup the address/zip code and just use the code in that link to do the filtering of your points

    3) if you do not already have you store locations geocoded then taken a look at the bing maps bulk geocoding service, which is free

    Hopefully that should get your along way to where you need to be


    Brian @ Earthware - UK interactive mapping web developers http://www.earthware.co.uk/blog | http://www.twitter.com/earthware | Windows Live Developer MVP
    Thursday, March 3, 2011 11:08 PM
    Moderator
  • It depends on the functionality. If you just want to upload data and get it on a map with simple nearby search functionality and a bit of styling then it can be built in a couple of days/week by someone new to Bing Maps. Someone well versed in Bing Maps could create something in a few hours. Note that this is assuming that you have access to the Bing Spatial Data Services in Bing Maps which all Enterprise users have access to. Non-Enterprise users can request access to this but this could take a day or two to get processed.

    The more styling and customization you implement then the longer it would take.


    http://rbrundritt.wordpress.com

    Wednesday, April 24, 2013 3:18 PM
  • Some time ago I set up a full working demo for a workshop within a few hours. I used this sample as basis: http://msdn.microsoft.com/en-us/library/hh305205.aspx

    Friday, April 26, 2013 9:59 AM

All replies

  • I am not aware of a store finder sample out there but here are a few hints.

    1) you will need to take the zip code or address entered by the user and geocode this using the bing maps REST services. Once geocoded you can pass this to your wcf service via javascript (see a full best practices example at http://bingmaps.codeplex.com/wikipage?title=Getting%20Started%20in%20Web%20Services&referringTitle=Home)

    2) To do you query, where you want all locations within a given radius of a location (which you got using 1) ) take a look at http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/sql-server-zipcode-latitude-longitude-pr. This sample actually looks up the zip code for you as well but I would advise you use bing to lookup the address/zip code and just use the code in that link to do the filtering of your points

    3) if you do not already have you store locations geocoded then taken a look at the bing maps bulk geocoding service, which is free

    Hopefully that should get your along way to where you need to be


    Brian @ Earthware - UK interactive mapping web developers http://www.earthware.co.uk/blog | http://www.twitter.com/earthware | Windows Live Developer MVP
    Thursday, March 3, 2011 11:08 PM
    Moderator
  • How long it would normally take to build a store locator app?

    160 hours ?

    500 hours ?

    1000 hours?

    Tuesday, April 23, 2013 9:58 PM
  • It depends on the functionality. If you just want to upload data and get it on a map with simple nearby search functionality and a bit of styling then it can be built in a couple of days/week by someone new to Bing Maps. Someone well versed in Bing Maps could create something in a few hours. Note that this is assuming that you have access to the Bing Spatial Data Services in Bing Maps which all Enterprise users have access to. Non-Enterprise users can request access to this but this could take a day or two to get processed.

    The more styling and customization you implement then the longer it would take.


    http://rbrundritt.wordpress.com

    Wednesday, April 24, 2013 3:18 PM
  • Some time ago I set up a full working demo for a workshop within a few hours. I used this sample as basis: http://msdn.microsoft.com/en-us/library/hh305205.aspx

    Friday, April 26, 2013 9:59 AM