API-less map display via AJAX

3 messages Options
Embed this post
Permalink
zspitzer

API-less map display via AJAX

Reply Threaded More More options
Print post
Permalink
I'm thinking bout writing a RFC for operation=GETMAPCONFIG which would return
the bounds, scales and DPI for a given map and operation=LOADMAP to allow
a runtime map to be created without API work.

This is direly needed for use with openlayers so that we can autoconfigure
for using mapguide maps purely with HTTP calls and no api.

z




--
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
Kenneth Skovhede, GEOGRAF A/S

Re: API-less map display via AJAX

Reply Threaded More More options
Print post
Permalink
Hi Zac.

Excellent idea. In fact, I think that this is how it should have been
all along.
I started work on the runtime map generation procedure a while back:
http://trac.osgeo.org/mapguide/wiki/MapGuideRfc21

However, I eventually stopped working on it, as it turns out it
was easier to build a runtime map parser, than figuring out how
to add the calls to MapGuide.

The current server-side API is fast, but comes with many requirements.
Having all methods exposed by the web tier would be optimal.

The GETMAPCONFIG can be substituted by the GETRESOURCECONTENT
call on the MapDefinition, which would return all the required information.

However, I am unsure how well this works if authoring is disabled on the
web tier.

Regards, Kenneth Skovhede, GEOGRAF A/S



Zac Spitzer skrev:

> I'm thinking bout writing a RFC for operation=GETMAPCONFIG which would return
> the bounds, scales and DPI for a given map and operation=LOADMAP to allow
> a runtime map to be created without API work.
>
> This is direly needed for use with openlayers so that we can autoconfigure
> for using mapguide maps purely with HTTP calls and no api.
>
> z
>
>
>
>
>  
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
zspitzer

Re: API-less map display via AJAX

Reply Threaded More More options
Print post
Permalink
> The GETMAPCONFIG can be substituted by the GETRESOURCECONTENT
> call on the MapDefinition, which would return all the required information.

only the scales are stored in the map xml, it's the calculated extent
and the dpi which are missing, plus the map def can be rather large

z

>
> However, I am unsure how well this works if authoring is disabled on the web
> tier.
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> Zac Spitzer skrev:
>>
>> I'm thinking bout writing a RFC for operation=GETMAPCONFIG which would
>> return
>> the bounds, scales and DPI for a given map and operation=LOADMAP to allow
>> a runtime map to be created without API work.
>>
>> This is direly needed for use with openlayers so that we can autoconfigure
>> for using mapguide maps purely with HTTP calls and no api.
>>
>> z
>>
>>
>>
>>
>>
>
> _______________________________________________
> mapguide-internals mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>



--
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168
_______________________________________________
mapguide-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapguide-internals