Is it possible to display a Google Maps layer (or level in Microstation API terms) in the displayed Views in Microstation?
I've found that it is possible to open the same location in a browser but I want to use Google Maps as a base layer in the View.
I want to draw my elements on top of the Google Maps layer in the View.
Miklos Bodi said:in Microstation?
Respect the best practices! There have been 17 CE versions released in last several years. Always specify MicroStation version exactly.
Miklos Bodi said:Is it possible to display a Google Maps layer (or level in Microstation API terms) in the displayed Views in Microstation?
Such question should be discussed in MicroStation forum, because it's not specifically programming topic.
The answer is "No", because you can display raster files, rasters from Image Servers (Bentley or ECWP) or WMS (plus WMTS in U15). Google does not publish (for good/technical/business reasons) their maps as WMS/WMTS.
Miklos Bodi said:I want to draw my elements on top of the Google Maps layer in the View.
It's not possible. Of course, you can implement own raster display, but even when you will succeed in this complex task, you will have no access to Google Maps data (I think they are available as paid service).
But you can display Bing Maps in MicroStation for free and without any obstacles, because from Update 7, they are seamlessly integrated into View attributes. I am not sure whether they are also supported in API, but key-in is available.
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Thanks for your quick response. I've updated the topic of this question.
Where can I find the key-in commands regarding the View attribute?
I've found the key-in in the meanwhile:
SET BACKGROUNDMAP NONE|STREET|AERIAL|HYBRID [zOffset,[transparency,[viewNumber]]]
Miklos Bodi said:I've updated the topic of this question
The current version of MicroStation CONNECT is Update 14. I doubt that we'll see Update 17 before 2022.
You've added C++ to your headline, but your question doesn't seem to be about programming. Perhaps you will introduce a question about C++ and Google maps later?
Regards, Jon Summers LA Solutions
Thanks for the hint. I changed it to U14. It was a typo.
I thought I will get a C++ related answer.
Miklos Bodi said:I thought I will get a C++ related answer
We can't provide a C++ related answer until we see a C++ related question. What have you found in the MicroStationAPI documentation that may help you?
A Google map is, from MicroStation's point of view, a georeferenced raster image. There is a huge API that deals with raster images. For example, mdlRaster_geoReferenceInfoSet() may be related to the question that you haven't yet asked. I don't know whether there is an equivalent C++ class.