Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

I don't want to use Google Maps, rather than I want to use the other map to display my current position.

Hi,
In addition to Google Maps, I want to use a different map, depending on the latitude and longitude to show my location on the map. Is that OK? And how to do this?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

I don't want to use Google Maps, rather than I want to use the other map to display my current position.

Hello,

Sure you can use any map service. It depends of what service you want to use. Anyway, you should add some JS and HTML to page.

Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

I don't want to use Google Maps, rather than I want to use the other map to display my current position.

Can you detail about this? What should I do in HTML? How can I transfer to my map that I want to use?Thank you!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

I don't want to use Google Maps, rather than I want to use the other map to display my current position.

Hello! It depends on map you're going to use. Each similar service has it's own API and for each service you have to add different content in HTML component. Could you clarify what map you're going to use?

Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

I don't want to use Google Maps, rather than I want to use the other map to display my current position.

Hello,
I'm sorry so long to get back to you.The map I'm going to use is Baidu.

Caty
Posts: 0
Joined: Wed Sep 12, 2012 11:27 pm

I don't want to use Google Maps, rather than I want to use the other map to display my current position.

[Posting this content for Max Katz as there is a technical issue preventing him from replying directly to the thread. We are currently investigating the issue]

Hi Crystal,

You would need to refer to the map's documentation and API and see how it
works. I hope you understand, but 3rd party components/APIs is outside the
scope of our support.

We are happy to provide general guidance:

1) In App settings--External resources--User-defined resources add
http://api.map.baidu.com/api?v=1.0&se...

2) On page add HTML component with 250x250 size

3) On page Load add the following code: prevar map = new
BMap.Map(Appery("html_3").attr("id"));
var point = new BMap.Point(116.404, 39.915);
map.centerAndZoom(point, 15);/pre

Caty
Posts: 0
Joined: Wed Sep 12, 2012 11:27 pm

I don't want to use Google Maps, rather than I want to use the other map to display my current position.

[Posting this on behalf of Max Katz as there are technical issues that are preventing him from replying to this topic. We are investigating those issues separately]

1) In App settings--External resources--User-defined resources add:

codehttp://api.map.baidu.com/api?v=1.0&services=false/code

2) On page add HTML component with 250x250 size

3) On page Load add the following code:

prevar map = new
BMap.Map(Appery("html_3").attr("id"));
var point = new BMap.Point(116.404, 39.915);
map.centerAndZoom(point, 15);/pre

Return to “Issues”