Hello Larry,

Thanks for your answer.
Sorry for the code in the email, please find below a test page.

http://proudly-geek.com/maptest/testapiplace.html

You'll see that I use asynchronous integration of the map (because in
real i'm using an asp.net framework to build my site), so please don't
mind about this.

The code changed since yesterday, i think i'm more on the right way.
I wanna mix the geocode function used to find a place (here : Paris
France, but it'll be generated dynamically by the user in the final
website) with the place marker function.

In the example above, i tried to match the "Nike" places (stores for
example) in Paris.
As you'll see, the map is matching the city well, but not the markers
on the places.

Thanks for your help,
Let me know if you've got any question.

Alex


On Jun 6, 11:28 pm, "[email protected]" <[email protected]>
wrote:
> On Jun 6, 5:45 am, Alex <[email protected]> wrote:
>
> > Hello,
>
> > I'm looking for a solution using Geocoding.
>
> from the "articles" section of the documentation:
> Geocoding Strategies
>     An overview of different strategies you can use for making sure
> you stay within the Google Maps API geocoding limits. This is a good
> article to read if you find you are frequently running into the quota
> limits of the Maps API 
> Geocoders.http://code.google.com/apis/maps/articles/geocodestrat.html
>
> > I work on an asynchronous maps API (JS V3).
>
> > The first geocoder is used to center the map on a region selected by
> > the user (via multiple dropdown).
> > Here no problem it's running.
> > The second geocoding function I wanted to push have to push the
> > markers via a string request (brand stores here)
> > But it's not running well..
>
> What does that mean?  What error are you getting?
>
> Either provide complete information of read and follow the posting
> guidelines:
>
> http://groups.google.com/group/google-maps-js-api-v3/t/2b3f101fd509919e
>
> (provide a link to your map, not code)
>
>   -- Larry
>
>
>
>
>
>
>
> > May have I made a mistake here.
>
> > Can you help me ? :)
>
> >     geocoder = new google.maps.Geocoder();
> >     geocoder.geocode( { 'address': masterSelection },
> > function(results, status) {
> >                 if (status == google.maps.GeocoderStatus.OK) {
> >                 map.setCenter(results[0].geometry.location);
> >                 } else {
> >                   alert("Geocode was not successful for the following 
> > reason: " +
> > status);
> >                 }
> >     });
>
> >         geocoder2 = new google.maps.Geocoder();
> >         var brandName = "Brand Name";
> >         geocoder2.geocode( { 'address': brandName }, function(resultat, 
> > etat)
> > {
> >                 if (etat == google.maps.GeocoderStatus.OK) {
> >                         var marker = new google.maps.Marker({
> >                         map: map,
> >                         position: resultat[0].geometry.location
> >                         });
> >                 } else {
> >                   alert("MARKER PROBLEM: " + etat);
> >                 }
> >     });
>
> > Thanks !

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to