File Exchange > Import and Export >    Google Map Import

Author:
OriginLab Technical Support
Date Added:
1/5/2017
Last Update:
1/12/2022
Downloads (90 Days):
780
Total Ratings:
28
File Size:
640 KB
Average Rating:
File Name:
Google Map...rt.opx
File Version:
2.50
Minimum Versions:
License:
Free
Summary:

Load map image from Google Map into Origin.

Screen Shot and Video:
Description:

Installation
Download the Google Map Import.opx, and then drag-and-drop onto Origin workspace.
An icon will appear in the Apps Gallery window.

Key Features

  • Search for a location or specify exact latitude and longitude values
  • Import the map as a background image into an Origin graph layer OR  as an image into an Origin matrix. 
    NOTE: Google map images use Mercator projection. When placing in a graph, or creating an image plot from a matrix, the Y scale of the plot can be set to Mercator scale.
    To place the map in a 3D graph, check the 3D Plane checkbox.
  •  If  starting from a graph with axes already set to desired latitude and longitude ranges, the dialog can pick up those values and display the map for those co-ordinates
  • Co-ordinates and setttings can be saved and re-loaded.
  •  Multiple map types available: Road map, Terrain, Satellite, Hybrid. Label option is also provided.
  • Support for regions without full access to the APIs.

OPERATION

  1. Click on the Google Map Import icon to launch the dialog.
    If the dialog is launched with a graph active, the map will be imported into either the active layer of that graph or a new graph.
    If the dialog is launched with any other window (such as worksheet) active, the map will be imported into a new graph.
  2. Use the edit box on top left to search for a location, or simply zoom and pan the map displayed on the right side to your desired location.


    If you started the dialog from a graph, you can pick up the X and Y range of the active graph layer by clicking on the curved arrow icon located in the upper right corner of the red rectangle on the left panel.
  3. The map image size that will be imported, is limited to 640x640 pixels.
    By default, the entire map displayed on the right side, or the central part of the display will be imported, depending on the size of the right panel.
    To have more control over the import area, click the "Area within ROI Box"  radio. This will place a red rectangle ROI on the map.
    You can then drag to resize or move the rectangle. Only the map area displayed within the rectangle will then be imported.
    When "Area within ROI Box" is selected, you can also click on the pencil icon next to this radio to set the boundary more precisely.
    Please be aware that the maximum size is 640*640. The central part no larger than that will be imported when the ROI exceeds that boundary.
  4. There are 4 map types available: Road Map, Terrain, Satellite, and Hybrid. There is also a Label option which can be turned on or off (except for Satellite type).
  5. Google map images use Mercator projection.
    Check the "Mercator Projection" checkbox to set the y axis scale for the Origin graph using a nonlinear formula so that the axis scale matches the Mercator projection.
    If you have data points with specific latitude and longitude values plotted in the layer, these points will exactly match the map location when this checkbox is checked.
    Otherwise the Y scale of the graph layer will be linear, and the axis scale will not match the map locations, particularly when the latitude values cover a large range.
  6. Check the "Rescale Layer by Map"  checkbox to resize the graph layer such that the axes lengths are in proportion with the X and Y ranges.
    If unchecked, the layer will not be resized.
  7. If dialog was started from a graph, you will see two buttons:
    Click on the "Import as New" button to create a new 2D/3D graph, or click on the "Import as Update" to import the map image into the active graph layer.
    You can then continue to modify the map specifications and click the  "Import as Update"  button to replace the current map with a new map.
    If the dialog was not started from a graph, you will see an Import button. Click this button to create a new graph with the map image. Once the graph is created, the "Import as New" and the "Import as Update" buttons will become available.
    If the 3D Plane option is checked, this app creates a 3D graph with the map on the bottom of XY plane.
  8. Click the "Close" button to close the dialog.

Updates:

v 2.5
Bug fix and show map under layer background.
Remove deprecated API.

v 2.3 Show detailed error message if IE version not supported.
v 2.2 Support map on 3D plane
v 2.1 Bug fix.
v 2.0 Support for regions without full access to the APIs.
v 1.4 Move dialog to screen center when try to create another instance.
v 1.3 Prevent multiple instances.
v 1.2 Fix the problem of loading saved settings and the problem of loading JavaScript on Windows 10.
v 1.17 Updated App icon
v 1.1 Multiple improvements including save/load settings, editing lat/long values, and high DPI support

Reviews and Comments:
01/06/2022OriginLabHi sheryant,
很抱歉, 我们刚刚确认了,Google 已停用了跟相关的api,因此更改设置后,仍然无法使用此App.
如果您是在中国大陆地区的用户,请使用“ Tianditu Map Import” App。
https://www.originlab.com/fileExchange/details.aspx?fid=625
谢谢!

01/06/2022sheryant更换为”China"后仍然显示该问题,浏览器能够连接到谷歌地图

01/05/2022OriginLabHi sheryant,
我们不确认你所在的地区是否能连接到Google map, 可能是因为连接不到default service而引起的问题。
或者你可以参考,这个页面 “OPERATION” 中提示:
User from China may not have access to the default service. Please change the default setting from World to China, back to the main panel and close the dialog. Click on the Google Map Import icon again to launch the dialog.
谢谢!

01/05/2022sheryant显示"google"未定义,app无法使用

12/27/2021OriginLabHi longteng,
不好意思,我们暂时无法确认,您的App代码不能运行的原因。
您可以将你的具体问题发送给我们的技术支持(在下面的网页中提交问题),然后我们可以进一步查看问题的原因,以及是否可以为您找到解决方案。
https://www.originlab.com/restricted/support/newticket.aspx?c=3
谢谢!

12/24/2021longteng这个地图app代码有问题,无法运行

11/28/2021jjbrownbad,

09/13/2021lovechang1314Hi, How to change the language of google map?

03/15/2021OriginLabHi swagh, thanks for the comments. In order to improve the App and support your needs, I suggest you can send your detail requirement of this function to Origin Support team. https://www.originlab.com/index.aspx?go=COMPANY/ContactUS

03/14/2021swaghafter the whole process, and import as an update or import as a new non of them worked in my case.
Any comments guys.

123