On Thu, Nov 06, 2008 at 09:07:13AM -0800, mippon wrote:
>
> I am trying to get cluster strategy to work with google layers but it just
> shows up in the middle of the map at wrong coordinates. Only one point shows
> up. I cannot seem to figure out what I am doing wrong.
> My script is as follows.
You haven't told OpenLayers to reproject your data. At this time, the
way to do that is to set internal/external projection properties on the
Format.GML construction.
protocol: new OpenLayers.Protocol.HTTP({
url: "gml/owls.xml",
format: new
OpenLayers.Format.GML({
internalProjection: map.getProjectionObject(),
externalProjection: map.displayProjection
})
}),
Regards,
--
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users