No problem, have fun learning the api. On Tue, Oct 5, 2010 at 1:26 PM, vic santoro <[email protected]> wrote:
> man, you are such a huge help thank you. > > got it working with.. > > > map.setCenter(results[0].geometry.location); > map.setZoom(7); > > On Oct 5, 2:10 pm, Nathan Raley <[email protected]> wrote: > > Set the map center to the position, of the marker and then set the zoom > > level of the map to your zoom level, then do a panto to the coordinates? > > > > On Tue, Oct 5, 2010 at 1:00 PM, vic santoro <[email protected]> wrote: > > > Another question, I have removed the marker after goecoding. do you > > > know of a way to add zoom after geocoding. so when i search for city > > > it should not show marker, should just zoom=6 > > > > > map.setCenter(results[0].geometry.location); > > > > > On Oct 5, 12:45 pm, Nathan Raley <[email protected]> wrote: > > > > Works for me. > > > > > > On Tue, Oct 5, 2010 at 11:39 AM, vic santoro <[email protected]> > wrote: > > > > > ok, that is what i figured. still not working, when i click the > button > > > > > nothing happens. do you think it could be because of the kml layer > ? > > > > > > > On Oct 5, 12:34 pm, Nathan Raley <[email protected]> wrote: > > > > > > The line: > > > > > > var address = document.getElementById("address").value; > > > > > > > > Is using the value entered into the TextBox defined here: > > > > > > <input id="address" type="textbox" value="Sydney, NSW"> > > > > > > > > And saving it as the local variable address. Which it then sends > as > > > the > > > > > > address to the geocoder via: > > > > > > geocoder.geocode( { 'address': address} > > > > > > > > On Tue, Oct 5, 2010 at 11:29 AM, vic santoro <[email protected] > > > > > wrote: > > > > > > > forgot , the link is rentmycity.com > > > > > > > > > -- > > > > > > > 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]<google-maps-js-api-v3%[email protected]> > <google-maps-js-api-v3%[email protected]<google-maps-js-api-v3%[email protected]> > > > > > <google-maps-js-api-v3%[email protected]<google-maps-js-api-v3%[email protected]> > <google-maps-js-api-v3%[email protected]<google-maps-js-api-v3%[email protected]> > > > > > > > > > <google-maps-js-api-v3%[email protected]<google-maps-js-api-v3%[email protected]> > <google-maps-js-api-v3%[email protected]<google-maps-js-api-v3%[email protected]> > > > > > <google-maps-js-api-v3%[email protected]<google-maps-js-api-v3%[email protected]> > <google-maps-js-api-v3%[email protected]<google-maps-js-api-v3%[email protected]> > > > > > > > > > > > . > > > > > > > For more options, visit this group at > > > > > > >http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > > > > > > -- > > > > > 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]<google-maps-js-api-v3%[email protected]> > <google-maps-js-api-v3%[email protected]<google-maps-js-api-v3%[email protected]> > > > > > <google-maps-js-api-v3%[email protected]<google-maps-js-api-v3%[email protected]> > <google-maps-js-api-v3%[email protected]<google-maps-js-api-v3%[email protected]> > > > > > > > > > . > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > > > > -- > > > 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]<google-maps-js-api-v3%[email protected]> > <google-maps-js-api-v3%[email protected]<google-maps-js-api-v3%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- > 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]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- 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.
