Page 1 of 1

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

Posted: Fri Nov 29, 2013 6:56 am
by Crystal

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?


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

Posted: Fri Nov 29, 2013 7:28 am
by Serhii Kulibaba

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.


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

Posted: Fri Nov 29, 2013 7:53 am
by Crystal

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!


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

Posted: Fri Nov 29, 2013 12:48 pm
by Maryna Brodina

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?


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

Posted: Mon Dec 02, 2013 1:10 am
by Crystal

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


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

Posted: Mon Dec 02, 2013 10:14 pm
by Caty

Test reply


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

Posted: Mon Dec 02, 2013 11:26 pm
by Caty

[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


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

Posted: Mon Dec 02, 2013 11:30 pm
by Caty

[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


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

Posted: Tue Dec 03, 2013 5:16 am
by Crystal

Thanks,I'm trying to do that.


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

Posted: Tue Dec 03, 2013 6:25 am
by Maryna Brodina

test reply