Sanjay,
It looks your problem related with one of our bug which our developers are working for, I will update the status if we get some good news.
Regards,
Don
Hi Sanjay,
We should have fixed your issue, you can get the latest daily build (5.0.32.0 or later) to have another try in your demo.
Regards,
Don
Dear Don,
Thanks for reply and working on issue,
Currently on my customer portal 5.0.31.0 is available, so when I found 5.0.32.0, I will test my issue and inform according that.
Regards
Sanjay
Hi Sanjay,
I think the 5.0.32.0 will be updated today.
Please notice our helpdesk system.
Regards,
Don
Hi Sanjay,
Our developer changed daily build flow, so I think you couldn’t get the latest daily build package today. I am sorry for that.
Regards,
Don
Dear Don,
I don’t which problem is solved as per your reply. But in my point of view not a single problem is solved of this thread. You can see my first post (post 160) of this thread, there are three problem mention and not a single problem is solved. I am checking this problem with new dll 5.0.34.0 but my hard luck. you can also check against post no 160 with 5.0.34.0
Regards
Sanjay
Hi Sanjay,
I am sorry I thought all your problem have been solved exception layer refresh, I will review your posts.
And I am not sure which post is 160, current post number should be 9233 which contained in the link.
Regards,
Don
Dear Don,
Thanks for replay,
Please go with first post of this thread, by the way I am repeating my problem as below
I am loading a tab file with TabFileFutureLayer. It loaded successfully. But some points I am briefing below:
1. When I am loading a tab file, which displayed by point style, it shows 2 points, when I am trying to zoom these points, one is working but not another. It should display only one point.
2. When I am trying to zoom a layer on certain lavel automatically and also center of screen, after tab file loaded, its not working for me.
3. By defualt my tab file loaded with point style with help of following code
Dim customPointStyle as Style = new PointStyle(PointSymbolType.Star, New GeoSolidBrush(GeoColor.StandardColors.Red),10)
Its working for me. Now on button click I chaged style with following code
Dim customPointStyle as Style = new PointStyle(PointSymbolType.Circle, New GeoSolidBrush(GeoColor.StandardColors.Red),5)
winformsMap1.Refresh()
It also working and replaced star into circle with new font size, but not refreshed properly, it showing the shadow of star, it can be viewed by zoom.
For this I have attached sample file on 26-May-2011 at 12:19:08AM (TestStyle.rar).
This thread was created on 25-May-2011 and now it is 20-Jun-2011. I think this is a long time span, and still I am waiting for solution.
Hope this time I will get solution.
Regards
Sanjay
Dear Sanjay,
Sorry to let you wait so long.
Our developer keep working for your issues, they need did change for source code and test so that’s not fast.
Sorry again for I thought your other questions have been fixed in ticket so I thought the only problem should be Layer.Refresh problem.
I will communication with the guy who follow your ticket and let you know the status.
Regards,
Don
Dear Don,
Thanks for reply.
I will wait for your further update.
Regards
Sanjay
Sanjay,
I will update here if we get progress.
Regards,
Don
Sanjay,
Thanks for your patient.
About this thread, we create three Gemini issues and fixed them all, I list them below, please let me know which issue you think it’s still not fixed, or your issue is not inclulded in them:
1. Fixed TabFeatureLayer Spatial query returns wrong featureID
2. Improved the load performance for tab file when using index file.
3. Fixed a bug for loading tab file is pointstyle based with index.
Thanks,
James
Dear James
Thanks for reply,
First thing, what you have replied the first point is not mine and 2nd and 3rd alredy resolved by scott and that is part of other thread.
I tested my problem of this thread with 5.0.41.0 dll. and not worked for me.
In this thread I have created 3 questions and I think you are 3rd person coming to resolve for this thread, but sorry to say not a single point covered still. I don't understand the problem of you people. Either I am incapable to brief you or you don't try to understand. I have repeated my problems two times in this thread but still nothing is progress.
Please read first post of this thread. If you are not understanding my question please tell me, I will try to more brief to you. By the way I am again repeating my problem as below.
I am loading a tab file with TabFileFutureLayer. It loaded successfully. But some points I am briefing below:
1. When I am loading a tab file, which displayed by point style, it shows 2 points, when I am trying to zoom these points, one is working but not another. It should display only one point.
2. When I am trying to zoom a layer on certain lavel automatically and also center of screen, after tab file loaded, its not working for me.
3. By defualt my tab file loaded with point style with help of following code
Dim customPointStyle as Style = new PointStyle(PointSymbolType.Star, New GeoSolidBrush(GeoColor.StandardColors.Red),10)
Its working for me. Now on button click I chaged style with following code
Dim customPointStyle as Style = new PointStyle(PointSymbolType.Circle, New GeoSolidBrush(GeoColor.StandardColors.Red),5)
winformsMap1.Refresh()
It also working and replaced star into circle with new font size, but not refreshed properly, it showing the shadow of star (or you can say spikes of star still visible with circle), it can be viewed by zoom.
For this I have attached sample file on 26-May-2011 at 12:19:08AM (TestStyle.rar).
If there is still any dought, please tell me. Hoping for best reply.
Regards
Sanjay
Dear James,
Waiting for reply…
Regards
Sanjay
Sanjay,
We couldn’t reproduce your issues, and also don’t find the sample you mentioned, you mean 26-May-2011 is on this thread or another thread? If it’s on another thread, could you provide a link to help us.
Thanks,
James
Dear James,
Thanks for reply.
Actually the sample was loaded on my customer portal (Ticket No-3370). The sample loaded on 26-May-2011 at 12:19:08 AM and File name is TestStyle.rar
Regards
Sanjay
Sanjay,
I found the sample in ticket 3370, when you want to change the custom style, you need to remove the existing styles, like following code, and then add your new style.
TLayer.ZoomLevelSet.ZoomLevel01.CustomStyles.Clear()
Let me know if you have more questions.
Thanks,
James
Dear James,
Thanks for reply,
As per your suggestion, I have applied clear statement and its work. Now my third point is solved. Again I am repeating my question
1. When I am loading a tab file, which displayed by point style, it shows 2 points, when I am trying to zoom these points, one is working but not another. It should display only one point.
2. When I am trying to zoom a layer on certain lavel automatically and also center of screen, after tab file loaded, its not working for me.
3. By defualt my tab file loaded with point style with help of following code
Dim customPointStyle as Style = new PointStyle(PointSymbolType.Star, New GeoSolidBrush(GeoColor.StandardColors.Red),10)
Its working for me. Now on button click I chaged style with following code
Dim customPointStyle as Style = new PointStyle(PointSymbolType.Circle, New GeoSolidBrush(GeoColor.StandardColors.Red),5)
winformsMap1.Refresh()
It also working and replaced star into circle with new font size, but not refreshed properly, it showing the shadow of star (or you can say spikes of star still visible with circle), it can be viewed by zoom.
Now, the 3rd point is resolved, but still 1st and 2nd is pending. Please also look into this.
Regards
Sanjay
Sanjay,
I am glad your third problem is resolved.
About question 1, could you describe more detail about how you reproduce the problem, I try to track zoom in for each point, they both work, only display one point. If you can provide the operation step-by –step that will be more clear.
About question 2, I think the same idea with question 1, maybe I don’t get your point, or you may write the incorrect code, I use following code for testing:
WinformsMap1.ZoomToScale(WinformsMap1.ZoomLevelSet.ZoomLevel16.Scale)
worldLayer.Open()
Dim features = worldLayer.FeatureSource.GetAllFeatures(ReturningColumnsType.NoColumns)
Dim point1 = CType(features(0).GetShape(), PointShape)
Dim point2 = CType(features(0).GetShape(), PointShape)
worldLayer.Close()
WinformsMap1.CenterAt(point1)
'WinformsMap1.CenterAt(point2)
WinformsMap1.Refresh()
Thanks,
James
Dear James,
Thanks for reply,
Actually TestStyle.rar file which I have uploaded as sample is complete application itself, the code is also there.
When I am executing the application, its load defined .TAB file, now you can see the 2 red point on the screen. Now, you can zoom those point with mouse with pressing shift button of keyboard. Through this process, One point will be zoom, but not another. So, why the two points is coming?
Now, with helping of your code, the both point is zoom and display at center. But the same time area based .TAB files also loaded. So in the case of area based file what will do the above code?
Regards
Sanjay