[mapguide-users] Place label inside polygon only

2012-01-30 Thread Mark Volz
Hello, Does mapguide opensource have a way to only place a label for a polygon if the label can fit inside the polygon?  (similar to ArcView's "Only Place Label Inside Polygon" option) Thanks Mark P.S. I am not sure if my original post made it to the mailing list. I apologize if this is a re

[mapguide-users] RE: How to sort a selection set

2012-01-30 Thread soudemans
Hmm, hadn't thought about it in that light. But it seems you are correct, I am sorting an array of JSON objects Alright so I tried my hand at this, and to be honest it is a little over my head. I found a JavaScript function that I could use to sort the values in the Array. It looks like this

[mapguide-users] Re: WGS84.PseudoMercator Is Not Supported MGOS 2.2 64bit?

2012-01-30 Thread GordonL
Not really, the item: google.maps.MapTypeId does not work for Google so I had to replace this everywhere with either G_PHYSICAL_MAP or G_NORMAL_MAP etc If you are not familiar with ANT, then look at the FusionSF.js file, modify it with the links above and use that one in your template (Aqua etc

RE: [mapguide-users] Re: WGS84.PseudoMercator Is Not Supported MGOS 2.2 64bit?

2012-01-30 Thread madair
Just a guess but you also need to make sure you load the google API in your template? Mike -Original Message- From: "Nimrod Cnaan" Sent: Monday, January 30, 2012 12:04pm To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] Re: WGS84.PseudoMercator Is Not Supported MGOS 2.2 6

[mapguide-users] Re: WGS84.PseudoMercator Is Not Supported MGOS 2.2 64bit?

2012-01-30 Thread Nimrod Cnaan
Hi Gordon & Thank you for your Q reply. >From the first moment I knew you are a neat & organized person :) Not sure I understood the guidelines, "...had to tweak the fusionSF-compress.js or Build it with ANT:", keep in mind that I'm using .NET & IIS7 I have performed the update on / generic.js b

[mapguide-users] RE: How to sort a selection set

2012-01-30 Thread Jackie Ng
But what you are sort()'ing is an array of JSON objects right? That's why you must pass a sorting function as a parameter to sort() because otherwise sort() has no clue how the objects are to be sorted. If it's an array of string literals, then sort() should do the alphabetic sort - Jackie -- Vi

[mapguide-users] Re: WGS84.PseudoMercator Is Not Supported MGOS 2.2 64bit?

2012-01-30 Thread GordonL
Since NABBLE broke all the bookmarks it was hard to find. (Good thing I archive all my emails) I found this as a fix - but I had to tweak the fusionSF-compress.js or Build it with ANT: I now have the Sheboygan sample application working with Google Maps using flexible layouts. The problem turn

[mapguide-users] RE: How to sort a selection set

2012-01-30 Thread soudemans
Thanks Jackie, But according to the information you provided I should be able to simply use the sort() method since I "just" want to alphabetically sort a string key field. Thus I am wondering what is missing since that doesn't work. Perhaps the array returned by MapGuide is not some ordinary

[mapguide-users] Re: WGS84.PseudoMercator Is Not Supported MGOS 2.2 64bit?

2012-01-30 Thread Nimrod Cnaan
Hi Gordon, I encountered the same problem on MGOS 2.2 64bit. I've tried following up. That post: http://osgeo-org.1803224.n2.nabble.com/MapGuide-2-2-RC4-issues-with-Fusion-Trunk-and-Google-td6232676.html with no success can you Inlight me about the FusionSF-compressed.js chnage to make it work

[mapguide-users] Re: Oracle 11gR2 - Basics..

2012-01-30 Thread Birgir
Hi Simon, Ive solved the problem My problem was, when I exported the data from the Oracle database all the columns became varchar2. I fixed that by exporting the tabel to .xsl and then I followed this example http://www.adamestrada.net/2010/01/oracle-spatial-and-user_sdo_geom_metadata/ and no