Re: [OpenLayers-Users] Displacement when switch between Google's street map and satellite map?

2009-10-12 Thread shane_china
Doesn't all vector data from China have an intentional error introduced to limit use? It is Google Streets compare to Google Hybrid. I test Beijing, hefei, maanshan, three cities in China, all of them have such displacement, so it seems all the China has this problem, anyone knows why? Please

[OpenLayers-Users] Displacement when switch between Google's street map and satellite map?

2009-10-11 Thread shane_china
This is an example for Google layer http://openlayers.org/dev/examples/google.html http://openlayers.org/dev/examples/google.html I locate the map to the lonlat(118.50285, 31.65154) in China. But when I switch the map between street and satellite without any zoom and pan. I find there is displa

Re: [OpenLayers-Users] Animate effect like Virtual Earth?

2009-08-20 Thread shane_china
Oh, when you get it work, please send me the solution, thank you. I done much effects but get nothing %-| tommy408 wrote: > > Hiya shane. I'm dying to know too. At the end of my project I'll spend > huge amount of time to get it to work if no one else know. > >

Re: [OpenLayers-Users] Animate effect like Virtual Earth?

2009-08-18 Thread shane_china
up to the top by myself and want to be answered if anyone knows, thanks. shane_china wrote: > > When I saw this Virtual Earth Example > http://openlayers.org/dev/examples/ve-novibrate.html > http://openlayers.org/dev/examples/ve-novibrate.html , Its zoom effect > shocked me

Re: [OpenLayers-Users] about Navigation and Box Control

2009-08-15 Thread shane_china
Use ZoomBox control is so easy, just like the common control. var ctl = new OpenLayers.Control.ZoomBox(); map.addControl(ctl); Please notice that, there are controls who exclude each other, navigation and zoombox are one of the example. So you should to use Button group for just active one of th

[OpenLayers-Users] Animate effect like Virtual Earth?

2009-08-14 Thread shane_china
When I saw this Virtual Earth Example http://openlayers.org/dev/examples/ve-novibrate.html http://openlayers.org/dev/examples/ve-novibrate.html , Its zoom effect shocked me. I notice that there are two lines in the source code panMethod: OpenLayers.Easing.Linear.easeOut, panDurat

Re: [OpenLayers-Users] about Navigation and Box Control

2009-08-14 Thread shane_china
I thought, you want to draw box and zoom. Do you notice that there is ZoomBox Control in OpenLayers? 莹莹 李 wrote: > > Hi: >   I have a problem,i can't use Navigation > Control(OpenLayers.Control.Navigation()) when i have used Box Control like > this : >     var control = new OpenLayers.Cont

Re: [OpenLayers-Users] Dynamic display line follow line route

2009-07-21 Thread shane_china
tart really simple with only 2 points and then > try to include your multiline. If you have it working at some point let > us know. I would be curious to see it working. > > [1] http://openlayers.org/dev/examples/vector-features.html > > [2] http://www.w3schools.com/js/js_timing.

Re: [OpenLayers-Users] Dynamic display line follow line route

2009-07-21 Thread shane_china
tor construction and here [2] for > JavaScript timing event. Start really simple with only 2 points and then > try to include your multiline. If you have it working at some point let > us know. I would be curious to see it working. > > [1] http://openlayers.org/dev/examples/vector-features.htm

Re: [OpenLayers-Users] Dynamic display line follow line route

2009-07-21 Thread shane_china
tiline. If you have it working at some point let > us know. I would be curious to see it working. > > [1] http://openlayers.org/dev/examples/vector-features.html > > [2] http://www.w3schools.com/js/js_timing.asp > > Julien > > > shane_china wrote: >>

Re: [OpenLayers-Users] Dynamic display line follow line route

2009-07-20 Thread shane_china
Is there anyone can help me? thank you. -- View this message in context: http://n2.nabble.com/Dynamic-display-line-follow-line-route-tp3279524p3289545.html Sent from the OpenLayers Users mailing list archive at Nabble.com. ___ Users mailing list Users@

[OpenLayers-Users] Dynamic display line follow line route

2009-07-17 Thread shane_china
I have a multiline vector. I want to dynamic showing this line. Start from one side point then become longer and longer with dynamic effect until reach the end point, like the action drawing this line using pen on map. Please tell me if who knows how to achieve this effect, thank you! -- View thi

Re: [OpenLayers-Users] help!

2009-05-12 Thread shane_china
First, my answer is no business about your question. I love your ext style. But ext + openlayers(1.5M or more), is it too big to internet? Hugo Teixeira wrote: > > hi, > > i'm trying to do one search streets with openlayers. > > i have made the search, but i'm been abling to do the go to str

Re: [OpenLayers-Users] Get point on line?

2009-05-09 Thread shane_china
> into places you have no business being. > > But if you got the answers to all your problems immediately, your heart > wouldn't become purified by the long quest. > > Good luck! > > - Bill Thoen > > > shane_china wrote: >> Hi, Bill Thoen, I go to the

Re: [OpenLayers-Users] Get point on line?

2009-05-03 Thread shane_china
our problems immediately, your heart > wouldn't become purified by the long quest. > > Good luck! > > - Bill Thoen > > > shane_china wrote: >> Hi, Bill Thoen, I go to the website and find the formulary I want. As >> following: >> Point(s) known distance

Re: [OpenLayers-Users] Get point on line?

2009-05-01 Thread shane_china
avform.htm. What you're looking for is > determining waypoint locations, i think. > > - Bill Thoen > > shane_china wrote: >> >> Bill Thoen wrote: >> >>> shane_china wrote: >>> >>>> In openlayers, >>>> I have a

Re: [OpenLayers-Users] FW: SelectFeatureControl invalid when set style to vector?

2009-04-29 Thread shane_china
And, I read your code, there is another problem. Could vectors in the same layer have different styles? I have two or more kinds of point in one layer, I want them to show different, could it possible? -- View this message in context: http://n2.nabble.com/FW%3A-SelectFeatureControl-invalid-when-

Re: [OpenLayers-Users] FW: SelectFeatureControl invalid when set style to vector?

2009-04-29 Thread shane_china
Kris Geusebroek, Thank you very much, you are so kind.:-) -- View this message in context: http://n2.nabble.com/FW%3A-SelectFeatureControl-invalid-when-set-style-to-vector--tp2743111p2744986.html Sent from the OpenLayers Users mailing list archive at Nabble.com.

Re: [OpenLayers-Users] SelectFeatureControl invalid when set style to vector?

2009-04-29 Thread shane_china
s-boun...@openlayers.org] > On Behalf Of shane_china > Sent: Wednesday, April 29, 2009 2:38 PM > To: users@openlayers.org > Subject: Re: [OpenLayers-Users] SelectFeatureControl invalid when set > style to vector? > > > here is the detail code > > When I construct

Re: [OpenLayers-Users] Get point on line?

2009-04-29 Thread shane_china
Bill Thoen wrote: > > shane_china wrote: >> In openlayers, >> I have a straight line with two endpoints. How could I get a point on the >> line with given distance to one endpoint? Thank you. >> > > You can find a point anywhere on a line by using a r

Re: [OpenLayers-Users] Who is using OpenLayers in higher education, libraries, and/or conservation?

2009-04-29 Thread shane_china
OpenLayers + Geoserver + Postgresql, a project I'm doing which about city's transmit resource management based on city map and also something about AutoCAD Map -- View this message in context: http://n2.nabble.com/Who-is-using-OpenLayers-in-higher-education%2C-libraries%2C-and-or-%09conservation

Re: [OpenLayers-Users] SelectFeatureControl invalid when set style to vector?

2009-04-29 Thread shane_china
here is the detail code When I construct vecotr like this: var vector = new OpenLayers.Feature.Vector(point); select feature control works well. When the vector was selected, color changed. But when I construct vector like this : var layer_style = OpenLayers.Util.extend({}, OpenLayers.Feature.V

[OpenLayers-Users] Get point on line?

2009-04-29 Thread shane_china
In openlayers, I have a straight line with two endpoints. How could I get a point on the line with given distance to one endpoint? Thank you. -- View this message in context: http://n2.nabble.com/Get-point-on-line--tp2739966p2739966.html Sent from the OpenLayers Users mailing list archive at Na

[OpenLayers-Users] SelectFeatureControl invalid when set style to vector?

2009-04-29 Thread shane_china
I followed instructions here http://openlayers.org/dev/examples/vector-features.html Yes, my style successly applyed. But there is another problem. When I use selectFeature control to select these vectors, these vectors don't change color. How could I do this to show people the selected effect