Andriy Khavryuchenko
2008-Apr-28 18:11 UTC
[Mapstraction] kml overlay problem with microsoft virtual earth
I can''t get KML overlay working with Microsoft Virtual Earth, while with Google Maps it works fine. GMaps has no street info in my region, though :( Upon loading, firebug shows the following error: GET http://geo.khavr.com/mapstraction-widget/kiev.kml (221ms) mapcontrol.ashx (line 1) s has no properties IsValidType(null, Object Spec=Object GUID=1209417402767 Pins=[0]) mapcontrol.ashx (line 1) IsValidType(null) mapcontrol.ashx (line 1) IsValidType() Quick googling haven''t helped. Live example a http://geo.khavr.com/mapstraction-widget/ Any ideas or suggestions? -- Sincerely, Andrey Khavryuchenko http://a.khavr.com/ KDS Software Group http://www.kds.com.ua/ Software Solutions Company
Andrew Turner
2008-Apr-28 21:13 UTC
[Mapstraction] kml overlay problem with microsoft virtual earth
On Mon, Apr 28, 2008 at 2:11 PM, Andriy Khavryuchenko <akhavr at khavr.com> wrote:> I can''t get KML overlay working with Microsoft Virtual Earth, while with > Google Maps it works fine. GMaps has no street info in my region, though :( >Why not use OpenStreetMap? http://openstreetmap.org/?lat=50.4473527826967&lon=30.536949634552002&zoom=13&layers=B0FT> Upon loading, firebug shows the following error: > > GET http://geo.khavr.com/mapstraction-widget/kiev.kml (221ms) > mapcontrol.ashx (line 1) > s has no properties > IsValidType(null, Object Spec=Object GUID=1209417402767 Pins=[0]) > mapcontrol.ashx (line 1) > IsValidType(null) mapcontrol.ashx (line 1) > IsValidType() > > Quick googling haven''t helped. > > Live example a http://geo.khavr.com/mapstraction-widget/ > > Any ideas or suggestions?The old VE required you to specify the feed type rather than detecting it. So right now Mapstraction is assuming GeoRSS. Try switching the line: veLayerSpec.Type = VELayerType.GeoRSS; to veLayerSpec.Type = VEDataType.ImportXML; I haven''t kept up with the VE version changes. Can someone more versed in VE perhaps check out Mapstraction support of the newer API changes?> > -- > Sincerely, > > Andrey Khavryuchenko http://a.khavr.com/ > KDS Software Group http://www.kds.com.ua/ > Software Solutions Company > _______________________________________________ > Mapstraction mailing list > Mapstraction at lists.mapstraction.com > http://lists.mapstraction.com/listinfo.cgi/mapstraction-mapstraction.com >-- Andrew Turner mobile: 248.982.3609 andrew at mapufacture.com 42.2774N x 83.7611W http://highearthorbit.com Ann Arbor, Michigan, USA http://mapufacture.com Helping build the Geospatial Web Introduction to Neogeography - http://oreilly.com/catalog/neogeography
Andriy Khavryuchenko
2008-Apr-28 21:53 UTC
[Mapstraction] kml overlay problem with microsoft virtual earth
Andrew Turner ???????(??):> On Mon, Apr 28, 2008 at 2:11 PM, Andriy Khavryuchenko <akhavr at khavr.com> wrote: >> I can''t get KML overlay working with Microsoft Virtual Earth, while with >> Google Maps it works fine. GMaps has no street info in my region, though :( >> > > Why not use OpenStreetMap? > http://openstreetmap.org/?lat=50.4473527826967&lon=30.536949634552002&zoom=13&layers=B0FTOpenStreetMap is better and I like it more, but it has not all streets necessary. One of reasons to use mapstraction is exactly to have an ability to switch map providers on the fly.>> Upon loading, firebug shows the following error: >> >> GET http://geo.khavr.com/mapstraction-widget/kiev.kml (221ms) >> mapcontrol.ashx (line 1) >> s has no properties >> IsValidType(null, Object Spec=Object GUID=1209417402767 Pins=[0]) >> mapcontrol.ashx (line 1) >> IsValidType(null) mapcontrol.ashx (line 1) >> IsValidType() >> >> Quick googling haven''t helped. >> >> Live example a http://geo.khavr.com/mapstraction-widget/ >> >> Any ideas or suggestions? > > The old VE required you to specify the feed type rather than detecting > it. So right now Mapstraction is assuming GeoRSS. Try switching the > line: > > veLayerSpec.Type = VELayerType.GeoRSS; > > to > > veLayerSpec.Type = VEDataType.ImportXML; > > I haven''t kept up with the VE version changes. Can someone more versed > in VE perhaps check out Mapstraction support of the newer API changes?As far as I can see, that requires a hack to mapstraction source. Would it be better to make it an option switch or parameter? -- Sincerely, Andrey Khavryuchenko http://a.khavr.com/ KDS Software Group http://www.kds.com.ua/ Software Solutions Company
Andrew Turner
2008-Apr-28 23:03 UTC
[Mapstraction] kml overlay problem with microsoft virtual earth
On Mon, Apr 28, 2008 at 5:53 PM, Andriy Khavryuchenko <akhavr at khavr.com> wrote:> Andrew Turner ???????(??): > > > > On Mon, Apr 28, 2008 at 2:11 PM, Andriy Khavryuchenko <akhavr at khavr.com> > wrote: > > > > > I can''t get KML overlay working with Microsoft Virtual Earth, while with > > > Google Maps it works fine. GMaps has no street info in my region, > though :( > > > > > > > > > > Why not use OpenStreetMap? > > > http://openstreetmap.org/?lat=50.4473527826967&lon=30.536949634552002&zoom=13&layers=B0FT > > > > OpenStreetMap is better and I like it more, but it has not all streets > necessary. > > One of reasons to use mapstraction is exactly to have an ability to switch > map providers on the fly.Correct - I was just pointing out that in this case OSM had very good coverage of your area - and likely more soon, since anyone (including you) can contribute to it. :)> > > > > > > > Upon loading, firebug shows the following error: > > > > > > GET http://geo.khavr.com/mapstraction-widget/kiev.kml (221ms) > > > mapcontrol.ashx (line 1) > > > s has no properties > > > IsValidType(null, Object Spec=Object GUID=1209417402767 Pins=[0]) > > > mapcontrol.ashx (line 1) > > > IsValidType(null) mapcontrol.ashx (line 1) > > > IsValidType() > > > > > > Quick googling haven''t helped. > > > > > > Live example a http://geo.khavr.com/mapstraction-widget/ > > > > > > Any ideas or suggestions? > > > > > > > The old VE required you to specify the feed type rather than detecting > > it. So right now Mapstraction is assuming GeoRSS. Try switching the > > line: > > > > veLayerSpec.Type = VELayerType.GeoRSS; > > > > to > > > > veLayerSpec.Type = VEDataType.ImportXML; > > > > I haven''t kept up with the VE version changes. Can someone more versed > > in VE perhaps check out Mapstraction support of the newer API changes? > > > > As far as I can see, that requires a hack to mapstraction source. > > Would it be better to make it an option switch or parameter?This is now fixed in r176 (not minified yet)> > -- > > Sincerely, > > Andrey Khavryuchenko http://a.khavr.com/ > KDS Software Group http://www.kds.com.ua/ > Software Solutions Company >-- Andrew Turner mobile: 248.982.3609 andrew at mapufacture.com 42.2774N x 83.7611W http://highearthorbit.com Ann Arbor, Michigan, USA http://mapufacture.com Helping build the Geospatial Web Introduction to Neogeography - http://oreilly.com/catalog/neogeography
Andriy Khavryuchenko
2008-Apr-29 09:14 UTC
[Mapstraction] kml overlay problem with microsoft virtual earth
Andrew Turner wrote:> Correct - I was just pointing out that in this case OSM had very good > coverage of your area - and likely more soon, since anyone (including > you) can contribute to it. :)Have to buy GPS first :)> On Mon, Apr 28, 2008 at 5:53 PM, Andriy Khavryuchenko <akhavr at khavr.com> wrote: >> Andrew Turner wrote: >>> The old VE required you to specify the feed type rather than detecting >>> it. So right now Mapstraction is assuming GeoRSS. Try switching the >>> line: >>> >>> veLayerSpec.Type = VELayerType.GeoRSS; >>> >>> to >>> >>> veLayerSpec.Type = VEDataType.ImportXML; >>> >>> I haven''t kept up with the VE version changes. Can someone more versed >>> in VE perhaps check out Mapstraction support of the newer API changes? >>> >> As far as I can see, that requires a hack to mapstraction source. >> >> Would it be better to make it an option switch or parameter? > > This is now fixed in r176 (not minified yet)Ok, will try, thanks. -- Sincerely, Andrey Khavryuchenko http://a.khavr.com/ KDS Software Group http://www.kds.com.ua/ Software Solutions Company
Andriy Khavryuchenko
2008-Apr-29 11:56 UTC
[Mapstraction] kml overlay problem with microsoft virtual earth
Andrew Turner wrote:>>> The old VE required you to specify the feed type rather than detecting >>> it. So right now Mapstraction is assuming GeoRSS. Try switching the[...]> This is now fixed in r176 (not minified yet)Thanks, that worked. -- Sincerely, Andrey Khavryuchenko http://a.khavr.com/ KDS Software Group http://www.kds.com.ua/ Software Solutions Company