Carol,
You answers(blue color) are very helpful and I think I almost find the reason. And I also add my comments(Red color)
According to your computer speed and the size of your data, also you are using text style and image as point style. The 1-2 seconds can accept, it’s normal.
One thing can increase your speed is that you need give us your loading code and than we can analysis it.
1. Are you doing shape editing and drawing track shapes?
No (I don't know you means in this program? because I have edit shp file by other program (to divide shp file))
So you mean you doing shape editing in another problem but not in this program
2. Are you using the Winforms or the Wpf desktop edition?
Winforms Cool, for some reason Wpf will slower than winforms
3. Can you give me an idea of the speed of your computer as well so I can get an idea of what it should run like?
CPU 1.4GHz, 800 MHz FSB
Your CPU speed is slower than I image
4. Can I get the version of the Desktop Edition you are on, you can get this byu calling the GetVersion on the Winforms Map control.
MapSuiteCore:3.1.273;DesktopEdition:3.0.453 The version almost the latest one
5. What are the source of your layers, I mean shapefiles etc and what are their sizes of the .shp
.shp, .dbf, .ids, .idx, .shx and all of .shp files size is 150 MB (all of all files is 8xx MB)
The size of shape files is bigger than I image
6. Just to check but if you used shapefiles did you build spatial indexes for them using the ShapefileFeatureLayer.BuildIndex?
Yes Cool, buildindex will generate index files which can increase speed
7. Do you have each layer in a seperate overlay? You can place many layers in one LayerOverlay and it will be a bit faster as it cuts out some of the overhead of multi overlays
No, I place layers(county, town, road...etc) to one overlay. One overlay will be faster than multi overlays
but I place some overlays in SpatialQuery() , RoadQuery(), NodeQuery() and focus_b_Click() These things can not interfere the time of drawing
8. What is your threading mode set too? It is the ThreadingMode property on the Map control.
Sorry, I don't what you mean...So I think you use default threading mode
9. Did you set the Overlay.IsBase = true on any of these overlays? This will slow down the times a bit, just checking.
I never use this command, so, I have to command Overlya.IsBase=fase?So you didn’t set that, so I think you use the default value false
10. Did you set a background up at all, like a solid blue background?
WinformsMap1.BackgroundOverlay.BackgroundBrush = New GeoSolidBrush(GeoColor.GeographicColors.ShallowOcean)
Cool, solid brush is faster than other advanced brush
11.Could you send a picture of what is being rendered so we can see the complexity? If the info is sensaive can you e-mail it to support@thinkgeo.com and have it forwarded to David? Sent
From your screen-shot, I find that you add label by text style, right? It will cost more time than drawing shape. And you use a icon image represent a car, it also will cost more time than normal symbol.
12. Can you email the loading code for the layers so we can check them out.
My code want to achieve follows goal:
1. When I input long/lat, the image will located in the center of Map. ( focus_b_Click())
2. When I located on the Map, I will search location informaion (ex. county name, town name, and road name) (Spatial Query→NodeQuery→Check_CrossRoad)
3. Of course, it have to move map and query location information quickly!
Now, I have some problem about speed
When I load the Map and pan it, it run about 1~2 second (you can see 1.jpg)
But it is so strange, if I Zoom in or Zoom out about twice and more, the speed of pan is slower...(actually, it have to run fast. because it has no much information on the map)
(Zoom out in 2.jpg)
(Zoom in in 3.jpg)
Your answer is not according to questions, the work flow which you described is not loading code, Do you know what is“Loading code”? the code mostly is in formload or pageload, you can refer our HowDoI samples, and tell us what your code. The important part is how you set your zoom level and style. Like you said, if you keep zoom in , there is no much information on the map but it run slower. The reason probably caused the wrong code for loading.
So can you give me the loading code?.
13. Are you projecting any of the data? No Answer. That means you are not projecting any of the data
Thanks
James