[mapguide-users] creating points at runtime / display problem
/ .NET
Kenneth, GEOGRAF A/S
ks at geograf.dk
Tue Jun 5 11:27:14 EDT 2007
Are you sure that the new point is actually visible within the current map?
Are you sure the FeatureSource projection is correct?
Can you get the point to display, if you save the FeatureSource and open
it with Studio?
Someone complained about not being able to use feature sources from the
session repository, is this the case?
Regards, Kenneth, GEOGRAF A/S
G.E.O.-Consulting / Hans Morschell wrote:
>
> Hello,
>
>
>
> I am having a problem with displaying points that I have created
> during runtime. I can create the featuresource, create the layer using
> a XML file, add the layer to the map and after that I add a point to
> the empty layer, set the layer visible and force to refresh, and
> finally save the map; I have controlled the steps of my source
> according to the examples in the dotnetviewer sample application
> (findaddress.aspx etc.).
>
> Nevertheless the point is not shown in map display after a map
> refresh, but in the legend the new layer is visible, the style is
> shown correctly, I can read the point in source code using a feature
> reader and I do not have any error messages.
>
>
>
> Has anybody some ideas what I am doing wrong, am I missing something ?
>
>
>
> My configuration: MgOS 1.2 Beta 2, .Net environment, source in VB
>
>
>
> kind regards, Hans
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/20070605/d6f7dc50/attachment.html
More information about the mapguide-users
mailing list