Brian_Flood


hi all

1) will GetTilePath ever be supported in 3D mode

2) will the Map Navigation controls be updated to reflect custom layers that have been added right now, you need to code up your own support for turning your custom layers on/off. This is ok, but if you wanted to reuse the (very) functional build-in layer controller, it would be confusing to users. In Google Maps, they have the GMapTypeControl that changes it's appearance based on all layers (build-in and custom)

cheers

brian





Re: Custom Layer Questions

Duncan Lawler


With respect to question 1, I hesitate to say never but it would be exceptionally difficult. It would either require the managed control somehow marshalling the tile request back to IE so the IE jscript engine could evaluate the function and supply the request string, or the managed control would have to implement it's own scripting engine.

There is a robust plug-in datasource model which will be documented shortly which should allow the same functionality (and more) that GetTilePath provides.






Re: Custom Layer Questions

Brian_Flood

hi duncan

I agree on the javascript callback issue, I'm not sure how you'd accomplish that. I was just checking before going a different route.

plug-in model - I assume this entails a downloaded .Net assembly to run in the context of the 3D code I'm sure this will documented but how does MS envision this scenario a secure, internet friendly plugin architecture that would load assemblies from any url (or just MS ones)

cheers

brian







Re: Custom Layer Questions

Duncan Lawler

It's still being worked on, but managed code allows for dynamic download of a managed assembly that will execute in a restricted AppDomain. This allows seamless loading of any plug-in's, but still prevents any malicious code execution. The plug-in's will be restricted in the operations they can perform by the runtime.



Re: Custom Layer Questions

Brian_Flood

hi all

ok, i switched our export and publishing code to use the VE tile schema. I adapted our GMaps and OpenLayers code to load this spec as well, so this is cool for me. tiles load great in both 2D and 3D.

however, the weird 2D transparency issue still comes up. any word on when this will be fixed (the black artifacts and the fact that alpha values baked into the image are ignored in 2D (not 3D), see attached images)

couple other things:

1) mousemove event - why is this eaten by the api it seems like acrutial event if you want to build custom tools. i hooked the div mousemove for now but it seems like an ommision to me

2) good move wrapping the api around both the 2D and 3D controls, demoing the switching between modes in the browser seems like a hit around here.

3) noticed some seems (very, very slight) in the 3D view but not in the 2D view. it only really happens at smaller scales when you're zoomed way out on the globe.

cheers

brian

http://www.spatialdatalogic.com/sdl/public/images/World_3D.png

http://www.spatialdatalogic.com/sdl/public/images/World_2D.png