[ZS1] Re: [mapguide-users] [ZS1] Shareable markups

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Fri May 30 11:42:36 EDT 2008


Ok, I have not used it directly, so I cannot help you there.

Regards, Kenneth Skovhede, GEOGRAF A/S



mrsyer skrev:
> well more specifically im having trouble creating the invoke url and getting
> the 'markupmain' to show up when i click markup in my dropdown tool menu.
> Ive created the invoke url and the additional parameters are set just like
> the 'redding.mgp' example. the developers guide says php requires an
> additional step and requires the 'constants.php'  but im not sure what to do
> with it? thanks. JS.
>
>
>
> Kenneth Skovhede, GEOGRAF A/S wrote:
>   
>> I don't have a complete manual, but some pointers.
>> The rendering process is this:
>> Feature source -> Layer definition -> Runtime Map -> Output
>>
>> You have the runtime map, so you have to construct a featuresource and a 
>> layer for each markup.
>> The MapGuide API allows you to create an SDF featuresource without 
>> manual filesystem access/setup.
>> The Shareable markups do this.
>>
>> Next step is the layer that reference the featuresource. The GT example 
>> uses a template, and then substitutes certain values before loading the 
>> LayerDefinition Xml.
>> You can also use a single layer, and add multiple conditions, that will 
>> save you the trouble of creating featuresources.
>> The best solution, depends on what you have to do with the data.
>>
>> When you have a layer, you must insert it into the runtime map.
>> Finally a refresh must be performed on the client.
>>
>> If the markups should be avalible permanently, they must be saved in the 
>> "Library" repository.
>> If the markups is just for immediate display, it can be stored in the 
>> "Session" repository, and will be automatically deleted once the session 
>> ends.
>>
>> That is the basic procedure for all redlining/markup/overlays tasks.
>> If you have a more specific question, please post it :).
>>
>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>
>>
>>
>> mrsyer skrev:
>>     
>>> Hey everyone, i've got a map up and working and my boss would like me to
>>> add
>>> shareable markup to it. I've got the data from the site
>>> "http://data.mapguide.com/mapguide/gt/index.php" but the instructions are
>>> pretty vague to me. So if anyone has succesfully added this feature I
>>> would
>>> love to have a better procedure to follow. Thanks in advance, JS.
>>>   
>>>       
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>>     
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080530/9991ea39/attachment.html


More information about the mapguide-users mailing list