On Thu, Jan 28, 2010 at 12:31 AM, evilC <[email protected]> wrote:

> Oh, the custom projection does not handle this? I thought that was
> part of the point of the custom projection's fromLatLngToPoint
> function?
>

Exactly: all I am saying is that your custom projection has to handle this,
by matching your tiles.


> This is all starting to sound a bit more complex than I had imagined,
> and it seems to be the kind of thing that if you got it wrong, you
> possibly wouldn't realise until you got a bunch of data in there...
>
> I don't suppose there is any chance that somebody could whip up a
> working example? The scales used could be arbitrary, I am sure I could
> tweak an example to fit various coordinate systems, if only I had a
> flat world example to build from.
>
> Cheers
>
> Clive
>
> On Jan 27, 3:08 am, Ben Appleton <[email protected]> wrote:
> > On Wed, Jan 27, 2010 at 1:43 PM, evilC <[email protected]> wrote:
> > > Hmm, I am still left unsure what you mean by this then
> >
> > > > Now this is a bit oversimplified: you'll have to tweak the projection
> so
> > > > that eg. markers are placed in the right positions on your tiles,
> > > otherwise
> > > > all your overlays will be misaligned.
> >
> > >  Why would markers not appear in the right place?
> >
> > Your tile server has projected features from game coordinates to pixel
> > coordinates.  If you need to overlay a marker in the browser such that it
> > lines up with features rendered in your tiles, you'll need to ensure that
> > you place that marker at the right pixel coordinates.
> >
> > > TIA
> >
> > > Clive
> >
> > > --
> > > 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.

Reply via email to