[Geoprisma-dev] InitialView issue

Alexandre Dube adube at mapgears.com
Fri May 7 11:39:11 EDT 2010


Yves,

  Were you able to fix the issue ?

Alexandre


Alexandre Dube wrote:
> Yves,
>
>  All geometry objects have the 'getBounds' property so you could use 
> it regardless of the geometry type, then use 'getCenterLonLat' of the 
> returned Bounds object to get the center to create your point feature 
> from.
>
> Alexandre
>
>
> Yves Moisan wrote:
>> Does anyone have an example of conditional code I could use to check 
>> geometry type ?  More importantly, I'd like to get all possible code 
>> options as a function of geometry type, that is get x and y for a 
>> point and whatever function returns a point as a function of 
>> geometry.  There's gotta be some generic geometry checking code 
>> somewhere.
>>
>> TIA,
>>
>> Yves
>> _______________________________________________
>> Geoprisma-dev mailing list
>> Geoprisma-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geoprisma-dev
>
>


-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Geoprisma-dev mailing list