Thursday, March 18, 2010

Re: Same code, same markers, different domains...markers appear in completely different places

No, both sites (and local) use the same web service to connect to a db
and return the coordinates. They are always returned in the same
format from the AJAX call to the service.

On Mar 17, 12:34 pm, Brian P <brianpey...@gmail.com> wrote:
> Just a thought--is one site returning a float and the other returning
> a string for the coordinates? That might explain the behavior, and why
> the points seem to be the same but behave differently.
>
> -Brian
>
> On Mar 16, 9:23 pm, Christoff <christoff.r...@gmail.com> wrote:
>
>
>
> > Hello,
>
> > First, let me apologize for not having a link to my code to post. Due
> > to an NDA, I am not permitted to post one. However, my question does
> > not have to do with the code specifically..it's more of a 'have you
> > ever seen this behavior' type of question.
>
> > Here's what's happening. I've written an ASP.NET control that does an
> > address search and plots points based on coordinates returned from a
> > database. This control lives on two different sites. I've done all of
> > my tests using the same address. When run locally or on Site A, the
> > points plot in the correct location (Portland, Oregon). However, on
> > Site B, the map centers correctly on the entered address, but the
> > points are all placed in the middle of France.
>
> > I've examined the points returned by the db call each site, and they
> > are identical. The code is identical. The address is identical. As far
> > as I can tell, there is no conflicting script in either site that
> > would interfere with the scripts for the control.
>
> > Now, being that I don't have links posted, I don't expect anyone to
> > debug any of my code. But has anyone ever seen this behavior before?
> > I've been googling, and I can't find anything that describes behavior
> > similar to what I am experiencing.
>
> > Thanks in advance for any advice that anyone can offer.

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

No comments:

Post a Comment