<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ok, but the calls are named the same for JSP.<br>
Basic steps are:<br>
1. Load existing featuresource Xml<br>
2. Modify and save in session repository<br>
3. Load existing layerdefintion Xml<br>
4. Modify and save in session repository (point to featuresource just
created)<br>
5. Insert map into current runtime map<br>
6. Refresh map on client.<br>
<br>
If the datasource remains unchanged, it might be easier to have the
layer already in the map.<br>
The you can make the layer visible and possibly change the layer
filter, only in the runtime map.<br>
<br>
You can use the task pane as a standard frame.<br>
Take a look at ea. the measureui.templ file to see how its done.<br>
<br>
Use a custom action in the weblayout to load your page into the task
pane/frame.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth, GEOGRAF A/S
</pre>
<br>
<br>
dorra2007 skrev:
<blockquote cite="mid:13212037.post@talk.nabble.com" type="cite">
<pre wrap="">* I want to create the point layer at run time as the user clics on the map ,
(the problem is that in the manual there is only PHP examples)
*I mean by "Integrate the code in the application", create an interface
(frame) for the user to allow him to chose the point style, name, etc..(at
the right frame of mapguide opensource)
Usually using JSP and javascript
Kenneth, GEOGRAF A/S wrote:
</pre>
<blockquote type="cite">
<pre wrap="">1. There exists a JavaScript function called DigitzePoint(callback);
Look in the manual for details.
2. If you want to do it runtime, look in the manual for an example.
If you just want a permanent layer, get a hold of MapGuide Studio.
To get PostGIS data, download and install the PostGIS provider.
3. What do you want to integrate it with?
Links are usually created with the ... tags, but I don't
think thats what you mean.
Regards, Kenneth, GEOGRAF A/S
dorra2007 skrev:
</pre>
<blockquote type="cite">
<pre wrap="">Hello all,
I am beginner in Mapguide and I would like to develop a geolocalization
application.
My problem is :
How to create a JSP/JS file which allow a user to put a marker on the map
when he clics on it.
I think that the first step is to get the point coordinates which is the
key
of the probelm, then store them in a postgis database (which is
relatively
simple to do), after that create a layer of points (from the postgis
database) and display the symbol in the appropriate place (difficult
task).
If I summarize the problem:
1-How to get the coordinate system of a point by listenning the mouse
event
(after a clic) (using JSP/JS)
2-How to create a layer (from a postgis database) and display it (using
JSP/JS always).
3-How to integrate my JSP/JS file in my application (create links between
files)
It's very important for me to resolve this problem.
If you have any suggestion, it's welcome. Thank you very much for your
help.
</pre>
</blockquote>
<pre wrap="">_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>