Convert JavaScript code to PHP code

In Progress Posted 6 years ago Paid on delivery
In Progress Paid on delivery

I have some JavaScript code that converts an encoded polyline into an SVG. You can view the JavaScript code as a JSFiddle at [login to view URL]

(Please note the code is wrapped inside VueJS. However, this is not important so only JavaScript and PHP skills are required).

I would like the code to be converted into PHP. Currently, the encoded polyline is using a variable in JavaScript. For the new PHP version, I would like the encoded polyline to be passed using a GET variable. So for example, you could do something like this:

[login to view URL]@?EyDQi@}ByFJMcAgCeAyCeAiDu@iC`@_@??a@^IY{@{Cu@aDSg@KQSq@m@kCYgAIc@QJKYc@{@W{@Ga@C_@SkBQcA??GaAMuASwAS_BGo@GWQ]c@i@GMKWGCCAUuA[sBSaBKm@E]OaB

And when you visit the URL above the SVG with the correct polyline would be displayed. Just as with the JavaScript version.

Please note that the following links may give you an idea, how this can be achieved with PHP:

http://mattfenlon.com/2012/11/03/generating-svg-with-php/
https://github.com/noln/SVG-with-PHP#readme

Engineering JavaScript PHP Software Development Web Development

Project ID: #15882160

About the project

18 proposals Remote project Active 6 years ago

18 freelancers are bidding on average £161 for this job

celalaybar

Hello. I can convert JavaScript codes that produces SVG to PHP. Relevant Skills and Experience I am competent in PHP and JavaScript. Proposed Milestones £250 GBP - Done.

£250 GBP in 5 days
(297 Reviews)
8.4
superwanchiu

Hello. I just saw your description carefully. I am very interested in your project. I will convert your js code to php code. Please send your message so that we can discuss more. Relevant Skills and Experience PHP , j More

£150 GBP in 3 days
(226 Reviews)
7.8
Rekhathakur

I am well familiar with the requirements and will surely help you in this project I can easily Convert your JavaScript code to PHP code I have good experience in JavaScript development can start now Relevant Skills an More

£150 GBP in 3 days
(100 Reviews)
7.7
rohitagarberg

hi sir, i will create php code to create svg as done in the java script code by receiving the parameters in get parameter, thanks Relevant Skills and Experience php Proposed Milestones £100 GBP - completion

£100 GBP in 3 days
(565 Reviews)
7.1
florinbacu

A proposal has not yet been provided

£250 GBP in 10 days
(50 Reviews)
6.3
Gaosong2017

Honorable Seniors. How are you? I have experience 7+ years in developing .NET, Laravel, node.js, angular.js, react.js and Python Frameworks. Relevant Skills and Experience - WordPress, Code Igniter, Laravel, Django. - More

£150 GBP in 3 days
(68 Reviews)
6.6
AdamsK

Hi, I am Adams and I have 7 years experience in PHP and JS development experience. I have looked at the fiddle and would like to work on this project. Lets start. Thank you. Relevant Skills and Experience PHP, JS More

£166 GBP in 3 days
(103 Reviews)
5.9
shahidabro8

PHP, HTML5, CSS3, WordPress, jQuery, Bootstrap, E-Commerce, CodeIgniter, Website Design, Relevant Skills and Experience PHP, HTML5, CSS3, WordPress, jQuery, Bootstrap, E-Commerce, CodeIgniter, Website Design, Propose More

£150 GBP in 3 days
(26 Reviews)
4.0
harshsoni1811

Hello, i am working in uk based company and great experiance in javascript and php. i have already worked on many projects. If you want to see demo before award please ping so i can work Relevant Skills and Experience More

£94 GBP in 4 days
(13 Reviews)
3.9
barron9

DONE MSG ME! in js or any lang Relevant Skills and Experience == Proposed Milestones £55 GBP - ==

£55 GBP in 3 days
(17 Reviews)
4.0
prinka91

Hi, I really fit for that Job Becuase i have done lots of project similear to this and Willing to deliver on time according to your specifications. Relevant Skills and Experience I am working with PHP and javascript f More

£277 GBP in 3 days
(4 Reviews)
2.2
SayanProgrammer

Hey ! I'm SAYAN PROGRAMMER I've reviewed your complete job description. I have more than 15 years of experience in this field. if you will respond me then I will be able to explain my skills. Relevant Skills and Exp More

£100 GBP in 3 days
(0 Reviews)
0.0
singhmehtapawan

New to Freelancing but very experienced in this field. You can get the best work from me. looking forward to your response.

£222 GBP in 7 days
(0 Reviews)
0.0
sand977

from Russia, 7 years of experience in PHP laravel and codeigniter, also worked with vue, angular and yii. work in a team, so dont worry the conversion will be completed quickly.

£222 GBP in 7 days
(0 Reviews)
0.0